]> Git Repo - linux.git/commitdiff
driver core: make struct platform_pm_ops static
authorAdrian Bunk <[email protected]>
Mon, 21 Jul 2008 19:33:36 +0000 (22:33 +0300)
committerGreg Kroah-Hartman <[email protected]>
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
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,
This page took 0.054924 seconds and 4 git commands to generate.