diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2012-04-24 10:05:39 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-05-03 16:26:47 -0400 |
commit | 34fd57bffe60807f5639fc8bbe7a46ce97e45f50 (patch) | |
tree | 25aabfd9aeba2a43269e43b0bb79e52e9cf154ad /arch/arm/mach-omap2 | |
parent | 97abc496373b11140275338c2c28e1c72be75e4b (diff) |
ARM: OMAP3: cpuidle - set global variables static
struct powerdomain varialbes are all file local, make them static.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Jean Pihet <j-pihet@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Kevin Hilman <khilman@ti.com>
[khilman@ti.com: update changelog, drop error check in fast path]
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/cpuidle34xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/cpuidle34xx.c b/arch/arm/mach-omap2/cpuidle34xx.c index ee02a8ce7878..f682e170325a 100644 --- a/arch/arm/mach-omap2/cpuidle34xx.c +++ b/arch/arm/mach-omap2/cpuidle34xx.c | |||
@@ -75,7 +75,7 @@ static struct omap3_idle_statedata omap3_idle_data[] = { | |||
75 | }, | 75 | }, |
76 | }; | 76 | }; |
77 | 77 | ||
78 | struct powerdomain *mpu_pd, *core_pd, *per_pd, *cam_pd; | 78 | static struct powerdomain *mpu_pd, *core_pd, *per_pd, *cam_pd; |
79 | 79 | ||
80 | static int _cpuidle_allow_idle(struct powerdomain *pwrdm, | 80 | static int _cpuidle_allow_idle(struct powerdomain *pwrdm, |
81 | struct clockdomain *clkdm) | 81 | struct clockdomain *clkdm) |