Skip to content

Commit

Permalink
ARM: OMAP3: cpuidle - set global variables static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Lezcano authored and Kevin Hilman committed May 3, 2012
1 parent 97abc49 commit 34fd57b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/cpuidle34xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 34fd57b

Please sign in to comment.