memstick: convert struct class_device to struct device
struct class_device is going away, struct device should be used instead. Signed-off-by: Tony Jones <tonyj@suse.de> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Cc: Alex Dubov <oakad@yahoo.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -276,7 +276,7 @@ struct memstick_host {
|
||||
#define MEMSTICK_CAP_PAR8 4
|
||||
|
||||
struct work_struct media_checker;
|
||||
struct class_device cdev;
|
||||
struct device dev;
|
||||
|
||||
struct memstick_dev *card;
|
||||
unsigned int retries;
|
||||
|
Reference in New Issue
Block a user