提交 34fd57bf 编写于 作者: D Daniel Lezcano 提交者: Kevin Hilman

ARM: OMAP3: cpuidle - set global variables static

struct powerdomain varialbes are all file local, make them static.
Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: NJean Pihet <j-pihet@ti.com>
Reviewed-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: NKevin Hilman <khilman@ti.com>
[khilman@ti.com: update changelog, drop error check in fast path]
Signed-off-by: NKevin Hilman <khilman@ti.com>
上级 97abc496
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册