Commit 8b30eafb authored by Komal Shah's avatar Komal Shah Committed by Tony Lindgren

[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: default avatarKomal Shah <komal_shah802003@yahoo.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent c588f720
...@@ -137,9 +137,9 @@ void omap_pm_idle(void) ...@@ -137,9 +137,9 @@ void omap_pm_idle(void)
do_sleep = 0; do_sleep = 0;
while (enable_dyn_sleep) { while (enable_dyn_sleep) {
extern int vbus_active;
#ifdef CONFIG_CBUS_TAHVO_USB #ifdef CONFIG_CBUS_TAHVO_USB
extern int vbus_active;
/* Clock requirements? */ /* Clock requirements? */
if (vbus_active) if (vbus_active)
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment