summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Jones <tonyj@suse.de>2007-09-25 04:03:03 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-25 07:40:06 +0300
commit7dd817d083b6fc103b9ea4f2b4f4a1c6a09e29a0 (patch)
tree2e9e782982555e99cb4e40cde469699696470e15 /include
parent6013c12be8313b3205b41912d965b03f3b06147d (diff)
downloadlinux-7dd817d083b6fc103b9ea4f2b4f4a1c6a09e29a0.tar.xz
tifm: Convert from class_device to device for TI flash media
Signed-off-by: Tony Jones <tonyj@suse.de> Cc: Alex Dubov <oakad@yahoo.com> Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/tifm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tifm.h b/include/linux/tifm.h
index 6b3a31805c72..2096b76d0cee 100644
--- a/include/linux/tifm.h
+++ b/include/linux/tifm.h
@@ -120,7 +120,7 @@ struct tifm_adapter {
struct completion *finish_me;
struct work_struct media_switcher;
- struct class_device cdev;
+ struct device dev;
void (*eject)(struct tifm_adapter *fm,
struct tifm_dev *sock);