aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlex Dubov <oakad@yahoo.com>2006-12-10 09:55:37 -0500
committerPierre Ossman <drzeus@drzeus.cx>2007-02-04 14:54:10 -0500
commit41d78f7405659b55e082c5f0b3d1b625e75e1294 (patch)
treea9606dc48016abe80b797139b6156dc53b77d418 /include
parent8b40adab9c6cb63cede72c3ce3c3fee1157719e0 (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.h3
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};