From c7853aea57d8e850b0979e7bdcbcabdcbbdd9e37 Mon Sep 17 00:00:00 2001 From: Kazuhiro SUZUKI Date: Fri, 18 Feb 2011 14:43:07 -0800 Subject: 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 Signed-off-by: Kazuhiro Suzuki Signed-off-by: Shriram Rajagopalan Acked-by: Ian Campbell [shriram--minor mods and improved commit message] Signed-off-by: Konrad Rzeszutek Wilk --- include/xen/xenbus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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; -- cgit v1.2.3