public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: "andrzej zaborowski" <balrog@zabor.org>
To: Linux-OMAP <linux-omap-open-source@linux.omap.com>
Subject: [PATCH] ARM: OMAP: Disable 32kHz timer warning
Date: Thu, 10 Aug 2006 08:49:17 +0200	[thread overview]
Message-ID: <fb249edb0608092349l7af8a3a0sc34efd84013d8a8e@mail.gmail.com> (raw)

[-- 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 --]



             reply	other threads:[~2006-08-10  6:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-10  6:49 andrzej zaborowski [this message]
2006-08-10  6:55 ` [PATCH] ARM: OMAP: Disable 32kHz timer warning tony

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fb249edb0608092349l7af8a3a0sc34efd84013d8a8e@mail.gmail.com \
    --to=balrog@zabor.org \
    --cc=balrogg@gmail.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox