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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
6013c12be8
commit
7dd817d083
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user