From: Adrian Bunk Date: Mon, 21 Jul 2008 19:33:36 +0000 (+0300) Subject: driver core: make struct platform_pm_ops static X-Git-Tag: v2.6.28-rc1~284^2~22 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ec748fa9ed3fec44aeebbf86ae050b0cc7a978d9;p=linux-2.6-omap-h63xx.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 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,