summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-21 23:33:36 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-16 20:24:47 +0400
commitec748fa9ed3fec44aeebbf86ae050b0cc7a978d9 (patch)
tree02661c2eadf8c245754637f7100dcc68cea4fef3
parent346e15beb5343c2eb8216d820f2ed8f150822b08 (diff)
downloadlinux-ec748fa9ed3fec44aeebbf86ae050b0cc7a978d9.tar.xz
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>
-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,