aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm44xx.c
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2011-12-19 03:03:58 -0500
committerNicolas Pitre <nico@fluxnic.net>2012-01-20 18:55:19 -0500
commitae940913030386884f259eb4d95ac4d93b57144f (patch)
tree0c3ca352424c7b1b56c9978d2b890b9915eb313a /arch/arm/mach-omap2/pm44xx.c
parentdaa14d5e60e040bde290ec904af976fef6292627 (diff)
ARM: substitute arch_idle()
Now that all implementations of arch_idle() are equivalent to cpu_do_idle() we can just use the later directly and stop including mach/system.h. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Acked-and-tested-by: Jamie Iles <jamie@jamieiles.com> Acked-by: Tony Lindgren <tony@atomide.com> Tested-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm44xx.c')
-rw-r--r--arch/arm/mach-omap2/pm44xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/pm44xx.c b/arch/arm/mach-omap2/pm44xx.c
index 62d4f36c57a6..c840689df24a 100644
--- a/arch/arm/mach-omap2/pm44xx.c
+++ b/arch/arm/mach-omap2/pm44xx.c
@@ -173,7 +173,7 @@ static int __init pwrdms_setup(struct powerdomain *pwrdm, void *unused)
173 * omap_default_idle - OMAP4 default ilde routine.' 173 * omap_default_idle - OMAP4 default ilde routine.'
174 * 174 *
175 * Implements OMAP4 memory, IO ordering requirements which can't be addressed 175 * Implements OMAP4 memory, IO ordering requirements which can't be addressed
176 * with default arch_idle() hook. Used by all CPUs with !CONFIG_CPUIDLE and 176 * with default cpu_do_idle() hook. Used by all CPUs with !CONFIG_CPUIDLE and
177 * by secondary CPU with CONFIG_CPUIDLE. 177 * by secondary CPU with CONFIG_CPUIDLE.
178 */ 178 */
179static void omap_default_idle(void) 179static void omap_default_idle(void)
@@ -253,7 +253,7 @@ static int __init omap4_pm_init(void)
253 suspend_set_ops(&omap_pm_ops); 253 suspend_set_ops(&omap_pm_ops);
254#endif /* CONFIG_SUSPEND */ 254#endif /* CONFIG_SUSPEND */
255 255
256 /* Overwrite the default arch_idle() */ 256 /* Overwrite the default cpu_do_idle() */
257 arm_pm_idle = omap_default_idle; 257 arm_pm_idle = omap_default_idle;
258 258
259 omap4_idle_init(); 259 omap4_idle_init();