diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2012-04-24 16:05:39 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-05-03 13:26:47 -0700 |
commit | 34fd57bffe60807f5639fc8bbe7a46ce97e45f50 (patch) | |
tree | 25aabfd9aeba2a43269e43b0bb79e52e9cf154ad /arch/arm/mach-omap2/cpuidle34xx.c | |
parent | 97abc496373b11140275338c2c28e1c72be75e4b (diff) | |
download | lwn-34fd57bffe60807f5639fc8bbe7a46ce97e45f50.tar.gz lwn-34fd57bffe60807f5639fc8bbe7a46ce97e45f50.zip |
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/cpuidle34xx.c')
-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[] = { }, }; -struct powerdomain *mpu_pd, *core_pd, *per_pd, *cam_pd; +static struct powerdomain *mpu_pd, *core_pd, *per_pd, *cam_pd; static int _cpuidle_allow_idle(struct powerdomain *pwrdm, struct clockdomain *clkdm) |