mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-16 11:32:41 +00:00
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:
parent
2b3a302a09
commit
c4c66cf178
4 changed files with 27 additions and 28 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue