diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-03-04 00:13:36 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-19 19:10:29 -0700 |
commit | c4c66cf1787d408066fbfc69209185701f5df15f (patch) | |
tree | 989a6f49ae760b0015b489ca678bbe8baf2c3c85 /include/linux/memstick.h | |
parent | 2b3a302a09735276e13421db56c20045a48eb06d (diff) | |
download | lwn-c4c66cf1787d408066fbfc69209185701f5df15f.tar.gz lwn-c4c66cf1787d408066fbfc69209185701f5df15f.zip |
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/linux/memstick.h')
-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; |