diff options
author | Alex Dubov <oakad@yahoo.com> | 2006-12-10 09:55:37 -0500 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-02-04 14:54:10 -0500 |
commit | 41d78f7405659b55e082c5f0b3d1b625e75e1294 (patch) | |
tree | a9606dc48016abe80b797139b6156dc53b77d418 /include | |
parent | 8b40adab9c6cb63cede72c3ce3c3fee1157719e0 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tifm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/tifm.h b/include/linux/tifm.h index e5a8295f9fbc..3deb0a6c1370 100644 --- a/include/linux/tifm.h +++ b/include/linux/tifm.h | |||
@@ -101,6 +101,9 @@ struct tifm_driver { | |||
101 | tifm_media_id *id_table; | 101 | tifm_media_id *id_table; |
102 | int (*probe)(struct tifm_dev *dev); | 102 | int (*probe)(struct tifm_dev *dev); |
103 | void (*remove)(struct tifm_dev *dev); | 103 | void (*remove)(struct tifm_dev *dev); |
104 | int (*suspend)(struct tifm_dev *dev, | ||
105 | pm_message_t state); | ||
106 | int (*resume)(struct tifm_dev *dev); | ||
104 | 107 | ||
105 | struct device_driver driver; | 108 | struct device_driver driver; |
106 | }; | 109 | }; |