summaryrefslogtreecommitdiffstats
path: root/drivers/base/platform.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-21 21:33:36 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-16 18:24:47 +0200
commitec748fa9ed3fec44aeebbf86ae050b0cc7a978d9 (patch)
tree02661c2eadf8c245754637f7100dcc68cea4fef3 /drivers/base/platform.c
parentdriver core: basic infrastructure for per-module dynamic debug messages (diff)
downloadlinux-ec748fa9ed3fec44aeebbf86ae050b0cc7a978d9.tar.xz
linux-ec748fa9ed3fec44aeebbf86ae050b0cc7a978d9.zip
driver core: make struct platform_pm_ops static
This patch makes the needlessly global struct platform_pm_ops static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/platform.c')
-rw-r--r--drivers/base/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index 3f940393d6c7..e621dade7eaa 100644
--- a/drivers/base/platform.c
+++ b/drivers/base/platform.c
@@ -862,7 +862,7 @@ static int platform_pm_restore_noirq(struct device *dev)
#endif /* !CONFIG_HIBERNATION */
-struct pm_ext_ops platform_pm_ops = {
+static struct pm_ext_ops platform_pm_ops = {
.base = {
.prepare = platform_pm_prepare,
.complete = platform_pm_complete,