From: Daniel Lezcano Date: Tue, 24 Apr 2012 14:05:37 +0000 (+0200) Subject: ARM: OMAP3: set omap3_idle_data as static X-Git-Tag: firefly_0821_release~3680^2~2834^2~10^2^2~2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=97abc496373b11140275338c2c28e1c72be75e4b;p=firefly-linux-kernel-4.4.55.git ARM: OMAP3: set omap3_idle_data as static Reduce the scope of the omap3_idle_data to the file as it is only used in cpuidle34xx.c. Signed-off-by: Daniel Lezcano Reviewed-by: Jean Pihet Reviewed-by: Santosh Shilimkar Tested-by: Santosh Shilimkar Tested-by: Kevin Hilman Signed-off-by: Kevin Hilman --- diff --git a/arch/arm/mach-omap2/cpuidle34xx.c b/arch/arm/mach-omap2/cpuidle34xx.c index e7599e760aef..ee02a8ce7878 100644 --- a/arch/arm/mach-omap2/cpuidle34xx.c +++ b/arch/arm/mach-omap2/cpuidle34xx.c @@ -44,7 +44,7 @@ struct omap3_idle_statedata { u32 core_state; }; -struct omap3_idle_statedata omap3_idle_data[] = { +static struct omap3_idle_statedata omap3_idle_data[] = { { .mpu_state = PWRDM_POWER_ON, .core_state = PWRDM_POWER_ON,