summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKazuhiro SUZUKI <kaz@jp.fujitsu.com>2011-02-18 14:43:07 -0800
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-03-16 13:06:29 -0400
commitc7853aea57d8e850b0979e7bdcbcabdcbbdd9e37 (patch)
tree2cfd0f35cdd1a115e672f78653b34fdced4bd251 /include
parent76ca07832842100b14a31ad8996dab7b0c28aa42 (diff)
xen: xenbus PM events support
Make xenbus frontend device subscribe to PM events to receive suspend/resume/freeze/thaw/restore notifications. Signed-off-by: Kenji Wakamiya <wkenji@jp.fujitsu.com> Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com> Signed-off-by: Shriram Rajagopalan <rshriram@cs.ubc.ca> Acked-by: Ian Campbell <ian.campbell@citrix.com> [shriram--minor mods and improved commit message] Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include')
-rw-r--r--include/xen/xenbus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xen/xenbus.h b/include/xen/xenbus.h
index 7a1d15ff19b7..5467369e0889 100644
--- a/include/xen/xenbus.h
+++ b/include/xen/xenbus.h
@@ -92,7 +92,7 @@ struct xenbus_driver {
void (*otherend_changed)(struct xenbus_device *dev,
enum xenbus_state backend_state);
int (*remove)(struct xenbus_device *dev);
- int (*suspend)(struct xenbus_device *dev, pm_message_t state);
+ int (*suspend)(struct xenbus_device *dev);
int (*resume)(struct xenbus_device *dev);
int (*uevent)(struct xenbus_device *, struct kobj_uevent_env *);
struct device_driver driver;