summaryrefslogtreecommitdiff
path: root/include/linux/tifm.h
diff options
context:
space:
mode:
authorAlex Dubov <oakad@yahoo.com>2006-12-11 01:55:37 +1100
committerPierre Ossman <drzeus@drzeus.cx>2007-02-04 20:54:10 +0100
commit41d78f7405659b55e082c5f0b3d1b625e75e1294 (patch)
treea9606dc48016abe80b797139b6156dc53b77d418 /include/linux/tifm.h
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/linux/tifm.h')
-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 {
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;
};