tifm_core: add suspend/resume infrastructure for tifm devices
Signed-off-by: Alex Dubov <oakad@yahoo.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
This commit is contained in:
committed by
Pierre Ossman
parent
8b40adab9c
commit
41d78f7405
@@ -101,6 +101,9 @@ struct tifm_driver {
|
||||
tifm_media_id *id_table;
|
||||
int (*probe)(struct tifm_dev *dev);
|
||||
void (*remove)(struct tifm_dev *dev);
|
||||
int (*suspend)(struct tifm_dev *dev,
|
||||
pm_message_t state);
|
||||
int (*resume)(struct tifm_dev *dev);
|
||||
|
||||
struct device_driver driver;
|
||||
};
|
||||
|
Reference in New Issue
Block a user