aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-21 15:33:36 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-16 12:24:47 -0400
commitec748fa9ed3fec44aeebbf86ae050b0cc7a978d9 (patch)
tree02661c2eadf8c245754637f7100dcc68cea4fef3
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>
-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)
862 862
863#endif /* !CONFIG_HIBERNATION */ 863#endif /* !CONFIG_HIBERNATION */
864 864
865struct pm_ext_ops platform_pm_ops = { 865static struct pm_ext_ops platform_pm_ops = {
866 .base = { 866 .base = {
867 .prepare = platform_pm_prepare, 867 .prepare = platform_pm_prepare,
868 .complete = platform_pm_complete, 868 .complete = platform_pm_complete,