summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_device.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2008-05-21 01:40:43 +0200
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-06-10 10:59:51 -0700
commit25e18499e08cb097cbbfeab5de25d094d5312ee5 (patch)
tree1b4a0a0023216c2a037f35e4eaf1f32b83d44f39 /include/linux/platform_device.h
parentbbb44d9f23d868a2837c6b22b8dfb123d8e7800c (diff)
downloadop-kernel-dev-25e18499e08cb097cbbfeab5de25d094d5312ee5.zip
op-kernel-dev-25e18499e08cb097cbbfeab5de25d094d5312ee5.tar.gz
Implement new suspend and hibernation callbacks for platform busses
Implement new suspend and hibernation callbacks for the platform bus type. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Greg KH <greg@kroah.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/platform_device.h')
-rw-r--r--include/linux/platform_device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_device.h b/include/linux/platform_device.h
index 3261681..95ac21a 100644
--- a/include/linux/platform_device.h
+++ b/include/linux/platform_device.h
@@ -53,6 +53,7 @@ struct platform_driver {
int (*suspend_late)(struct platform_device *, pm_message_t state);
int (*resume_early)(struct platform_device *);
int (*resume)(struct platform_device *);
+ struct pm_ext_ops *pm;
struct device_driver driver;
};
OpenPOWER on IntegriCloud