diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-03-04 02:13:36 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-20 06:10:29 +0400 |
commit | c4c66cf1787d408066fbfc69209185701f5df15f (patch) | |
tree | 989a6f49ae760b0015b489ca678bbe8baf2c3c85 /include | |
parent | 2b3a302a09735276e13421db56c20045a48eb06d (diff) | |
download | linux-c4c66cf1787d408066fbfc69209185701f5df15f.tar.xz |
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 { #define MEMSTICK_CAP_PAR8 4 struct work_struct media_checker; - struct class_device cdev; + struct device dev; struct memstick_dev *card; unsigned int retries; |