From: Komal Shah Date: Thu, 5 Jan 2006 01:19:03 +0000 (-0800) Subject: [PATCH] ARM: OMAP: pm.c : fix warning X-Git-Tag: v2.6.15-omap2~19 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8b30eafb3781cf63910049a52be123b0b80d8077;p=linux-2.6-omap-h63xx.git [PATCH] ARM: OMAP: pm.c : fix warning Attached patch fixes following warning: arch/arm/mach-omap1/pm.c: In function vbus_active' Signed-off-by: Komal Shah Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c index 382ddaa778f..d483ac4f846 100644 --- a/arch/arm/mach-omap1/pm.c +++ b/arch/arm/mach-omap1/pm.c @@ -137,9 +137,9 @@ void omap_pm_idle(void) do_sleep = 0; while (enable_dyn_sleep) { - extern int vbus_active; #ifdef CONFIG_CBUS_TAHVO_USB + extern int vbus_active; /* Clock requirements? */ if (vbus_active) break;