public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OMAP1: pm.c : fix warning
@ 2006-01-04 16:41 Komal Shah
  2006-01-05  1:19 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Komal Shah @ 2006-01-04 16:41 UTC (permalink / raw)
  To: linux-omap-open-source

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

Tony,

Attached patch fixes following warning:

arch/arm/mach-omap1/pm.c: In function `omap_pm_idle':
arch/arm/mach-omap1/pm.c:140: warning: unused variable `vbus_active'

Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>

---Komal Shah
http://komalshah.blogspot.com/


		
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

[-- Attachment #2: 2034432102-pm-fix.patch --]
[-- Type: text/plain, Size: 394 bytes --]

diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c
index 382ddaa..d483ac4 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;

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] OMAP1: pm.c : fix warning
  2006-01-04 16:41 [PATCH] OMAP1: pm.c : fix warning Komal Shah
@ 2006-01-05  1:19 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2006-01-05  1:19 UTC (permalink / raw)
  To: Komal Shah; +Cc: linux-omap-open-source

* Komal Shah <komal_shah802003@yahoo.com> [060104 08:47]:
> Tony,
> 
> Attached patch fixes following warning:
> 
> arch/arm/mach-omap1/pm.c: In function `omap_pm_idle':
> arch/arm/mach-omap1/pm.c:140: warning: unused variable `vbus_active'
> 
> Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
> 
> ---Komal Shah
> http://komalshah.blogspot.com/
> 
> 
> 		
> __________________________________________ 
> Yahoo! DSL – Something to write home about. 
> Just $16.99/mo. or less. 
> dsl.yahoo.com 

Content-Description: 2034432102-pm-fix.patch
> diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c
> index 382ddaa..d483ac4 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;

Thanks, pushed.

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-05  1:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-04 16:41 [PATCH] OMAP1: pm.c : fix warning Komal Shah
2006-01-05  1:19 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox