summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlex Dubov <oakad@yahoo.com>2006-12-10 17:55:37 +0300
committerPierre Ossman <drzeus@drzeus.cx>2007-02-04 22:54:10 +0300
commit41d78f7405659b55e082c5f0b3d1b625e75e1294 (patch)
treea9606dc48016abe80b797139b6156dc53b77d418 /include
parent8b40adab9c6cb63cede72c3ce3c3fee1157719e0 (diff)
downloadlinux-41d78f7405659b55e082c5f0b3d1b625e75e1294.tar.xz
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 {
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;
};