diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-03-03 18:13:36 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-19 22:10:29 -0400 |
commit | c4c66cf1787d408066fbfc69209185701f5df15f (patch) | |
tree | 989a6f49ae760b0015b489ca678bbe8baf2c3c85 /include | |
parent | 2b3a302a09735276e13421db56c20045a48eb06d (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/memstick.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/memstick.h b/include/linux/memstick.h index 3e686ec6a967..37a5cdb03918 100644 --- a/include/linux/memstick.h +++ b/include/linux/memstick.h | |||
@@ -276,7 +276,7 @@ struct memstick_host { | |||
276 | #define MEMSTICK_CAP_PAR8 4 | 276 | #define MEMSTICK_CAP_PAR8 4 |
277 | 277 | ||
278 | struct work_struct media_checker; | 278 | struct work_struct media_checker; |
279 | struct class_device cdev; | 279 | struct device dev; |
280 | 280 | ||
281 | struct memstick_dev *card; | 281 | struct memstick_dev *card; |
282 | unsigned int retries; | 282 | unsigned int retries; |