From: Dirk Behme <dirk.behme@de.bosch.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] Fix warning in pm.c
Date: Sun, 04 Dec 2005 16:52:49 +0100 [thread overview]
Message-ID: <439310D1.1050106@de.bosch.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 243 bytes --]
ARM: OMAP: Remove warning
arch/arm/mach-omap1/pm.c: In function `omap_pm_idle':
arch/arm/mach-omap1/pm.c:114: warning: unused variable `do_sleep'
if CONFIG_OMAP_MPU_TIMER is defined.
Signed-off-by: Dirk Behme <dirk.behme_at_de.bosch.com>
[-- Attachment #2: pm_warning_fix.patch --]
[-- Type: text/plain, Size: 363 bytes --]
--- ./arch/arm/mach-omap1/pm.c_orig 2005-12-02 17:28:17.000000000 +0100
+++ ./arch/arm/mach-omap1/pm.c 2005-12-02 17:30:34.000000000 +0100
@@ -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();
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
reply other threads:[~2005-12-04 15:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=439310D1.1050106@de.bosch.com \
--to=dirk.behme@de.bosch.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.