From: Daniel Lezcano Date: Tue, 24 Apr 2012 14:05:25 +0000 (+0200) Subject: ARM: OMAP4: cpuidle - fix static omap4_idle_data declaration X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=cc6ae020d651900ef6bd872d0097118e5a605c3d;p=deliverable%2Flinux.git ARM: OMAP4: cpuidle - fix static omap4_idle_data declaration Add the static declaration for the omap4_idle_data variable because its scope is in the file only. 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/cpuidle44xx.c b/arch/arm/mach-omap2/cpuidle44xx.c index 522ec23790cd..38ecd270a4a8 100644 --- a/arch/arm/mach-omap2/cpuidle44xx.c +++ b/arch/arm/mach-omap2/cpuidle44xx.c @@ -33,7 +33,7 @@ struct omap4_idle_statedata { #define OMAP4_NUM_STATES 3 -struct omap4_idle_statedata omap4_idle_data[OMAP4_NUM_STATES]; +static struct omap4_idle_statedata omap4_idle_data[OMAP4_NUM_STATES]; static struct powerdomain *mpu_pd, *cpu0_pd, *cpu1_pd; /**