]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
driver core: make struct platform_pm_ops static
authorAdrian Bunk <bunk@kernel.org>
Mon, 21 Jul 2008 19:33:36 +0000 (22:33 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Oct 2008 16:24:47 +0000 (09:24 -0700)
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>
drivers/base/platform.c

index 3f940393d6c7904cdd68a5db804a3c0365ac696a..e621dade7eaa1dae63fec357aaa94fe661573222 100644 (file)
@@ -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,