summaryrefslogtreecommitdiffstats
path: root/include/xen
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/xen
parent76ca07832842100b14a31ad8996dab7b0c28aa42 (diff)
downloadlinux-c7853aea57d8e850b0979e7bdcbcabdcbbdd9e37.tar.gz
linux-c7853aea57d8e850b0979e7bdcbcabdcbbdd9e37.tar.bz2
linux-c7853aea57d8e850b0979e7bdcbcabdcbbdd9e37.zip
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/xen')
-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;