From: Dirk Behme Date: Tue, 3 Jan 2006 17:25:25 +0000 (-0800) Subject: [PATCH] ARM: OMAP: Remove warning X-Git-Tag: v2.6.15-omap2~34 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=824711c65a66fffdedaa043a32447704c57ed1bc;p=linux-2.6-omap-h63xx.git [PATCH] ARM: OMAP: Remove warning arch/arm/mach-omap1/pm.c: In function do_sleep' if CONFIG_OMAP_MPU_TIMER is defined. Signed-off-by: Dirk Behme Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c index b275af5c03f..382ddaa778f 100644 --- a/arch/arm/mach-omap1/pm.c +++ b/arch/arm/mach-omap1/pm.c @@ -111,7 +111,9 @@ void omap_pm_idle(void) { extern __u32 arm_idlect1_mask; __u32 use_idlect1 = arm_idlect1_mask; +#ifndef CONFIG_OMAP_MPU_TIMER int do_sleep; +#endif local_irq_disable(); local_fiq_disable();