From: Adrian Bunk Date: Mon, 21 Jul 2008 19:33:36 +0000 (+0300) Subject: driver core: make struct platform_pm_ops static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ec748fa9ed3fec44aeebbf86ae050b0cc7a978d9;p=openwrt%2Fstaging%2Fblogic.git driver core: make struct platform_pm_ops static This patch makes the needlessly global struct platform_pm_ops static. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman --- 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,