public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Disable 32kHz timer warning
@ 2006-08-10  6:49 andrzej zaborowski
  2006-08-10  6:55 ` tony
  0 siblings, 1 reply; 2+ messages in thread
From: andrzej zaborowski @ 2006-08-10  6:49 UTC (permalink / raw)
  To: Linux-OMAP

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

This makes the following warning conditional as the 32kHz timer is
only implemented for 16xx out of OMAP1 cpus:
arch/arm/mach-omap1/pm.c:138:2: warning: #warning Enable 32kHz OS
timer in order to allow sleep states in idle

Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
-- 
balrog 2oo6

[-- Attachment #2: linux-32ktimer-warning.patch --]
[-- Type: application/octet-stream, Size: 393 bytes --]

--- a/arch/arm/mach-omap1/pm.c	2006-07-06 02:47:56.000000000 +0000
+++ b/arch/arm/mach-omap1/pm.c	2006-08-08 05:12:05.000000000 +0000
@@ -134,7 +134,9 @@ void omap_pm_idle(void)
 	timer_dyn_reprogram();
 
 #ifdef CONFIG_OMAP_MPU_TIMER
+#ifdef CONFIG_ARCH_OMAP16XX
 #warning Enable 32kHz OS timer in order to allow sleep states in idle
+#endif
 	use_idlect1 = use_idlect1 & ~(1 << 9);
 #else
 

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-10  6:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-10  6:49 [PATCH] ARM: OMAP: Disable 32kHz timer warning andrzej zaborowski
2006-08-10  6:55 ` tony

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox