diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2009-02-09 12:05:50 -0800 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-03-30 09:26:56 -0700 |
commit | de5b31bd47de7e6f41be2e271318dbc8f1af354d (patch) | |
tree | d222e4ce03706e5047b78e060f85ed0b31727eaa /include/xen | |
parent | a1ce1be578365a4da7e7d7db4812539d2d5da763 (diff) | |
download | linux-stable-de5b31bd47de7e6f41be2e271318dbc8f1af354d.tar.gz linux-stable-de5b31bd47de7e6f41be2e271318dbc8f1af354d.tar.bz2 linux-stable-de5b31bd47de7e6f41be2e271318dbc8f1af354d.zip |
xen: use device model for suspending xenbus devices
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'include/xen')
-rw-r--r-- | include/xen/xenbus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xen/xenbus.h b/include/xen/xenbus.h index 0836772b9686..b9763badbd77 100644 --- a/include/xen/xenbus.h +++ b/include/xen/xenbus.h @@ -91,7 +91,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); + int (*suspend)(struct xenbus_device *dev, pm_message_t state); int (*resume)(struct xenbus_device *dev); int (*uevent)(struct xenbus_device *, char **, int, char *, int); struct device_driver driver; |