diff options
author | Kazuhiro SUZUKI <kaz@jp.fujitsu.com> | 2011-02-18 23:43:07 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-03-16 18:06:29 +0100 |
commit | c7853aea57d8e850b0979e7bdcbcabdcbbdd9e37 (patch) | |
tree | 2cfd0f35cdd1a115e672f78653b34fdced4bd251 /drivers/xen/xenbus/xenbus_probe.h | |
parent | Merge branch 'for-linus' of git://xenbits.xen.org/people/sstabellini/linux-pvhvm (diff) | |
download | linux-c7853aea57d8e850b0979e7bdcbcabdcbbdd9e37.tar.xz 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 'drivers/xen/xenbus/xenbus_probe.h')
-rw-r--r-- | drivers/xen/xenbus/xenbus_probe.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/xen/xenbus/xenbus_probe.h b/drivers/xen/xenbus/xenbus_probe.h index 24665812316a..888b9900ca08 100644 --- a/drivers/xen/xenbus/xenbus_probe.h +++ b/drivers/xen/xenbus/xenbus_probe.h @@ -64,8 +64,9 @@ extern void xenbus_dev_changed(const char *node, struct xen_bus_type *bus); extern void xenbus_dev_shutdown(struct device *_dev); -extern int xenbus_dev_suspend(struct device *dev, pm_message_t state); +extern int xenbus_dev_suspend(struct device *dev); extern int xenbus_dev_resume(struct device *dev); +extern int xenbus_dev_cancel(struct device *dev); extern void xenbus_otherend_changed(struct xenbus_watch *watch, const char **vec, unsigned int len, |