* [PATCH] Fix warning in pm.c
@ 2005-12-04 15:52 Dirk Behme
0 siblings, 0 replies; only message in thread
From: Dirk Behme @ 2005-12-04 15:52 UTC (permalink / raw)
To: linux-omap-open-source
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-04 15:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-04 15:52 [PATCH] Fix warning in pm.c Dirk Behme
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox