git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tifm_core: add suspend/resume infrastructure for tifm devices
[safe/jmp/linux-2.6]
/
include
/
linux
/
tifm.h
diff --git
a/include/linux/tifm.h
b/include/linux/tifm.h
index
e5a8295
..
3deb0a6
100644
(file)
--- 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;
};