aboutsummaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-21 22:33:36 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-16 09:24:47 -0700
commitec748fa9ed3fec44aeebbf86ae050b0cc7a978d9 (patch)
tree02661c2eadf8c245754637f7100dcc68cea4fef3 /drivers/base
parent346e15beb5343c2eb8216d820f2ed8f150822b08 (diff)
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')
-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 3f940393d6c..e621dade7ea 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,