Skip to content

Commit be26a00

Browse files
committed
ARM: OMAP1: Fix warnings about enabling 32 KiHz timer
Fix "Enable 32kHz OS timer in order to allow sleep states in idle" warning. We are now compiling in bothe MPU timer and 32 KiHz timer, so this warning is only valid when MPU_TIMER is set and OMAP_DM_TIMER is not set. Signed-off-by: Tony Lindgren <[email protected]>
1 parent c16ae1e commit be26a00

File tree

1 file changed

+1
-1
lines changed
  • arch/arm/mach-omap1

1 file changed

+1
-1
lines changed

arch/arm/mach-omap1/pm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ void omap1_pm_idle(void)
116116
return;
117117
}
118118

119-
#ifdef CONFIG_OMAP_MPU_TIMER
119+
#if defined(CONFIG_OMAP_MPU_TIMER) && !defined(CONFIG_OMAP_DM_TIMER)
120120
#warning Enable 32kHz OS timer in order to allow sleep states in idle
121121
use_idlect1 = use_idlect1 & ~(1 << 9);
122122
#else

0 commit comments

Comments
 (0)