public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Komal Shah <komal_shah802003@yahoo.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] OMAP1: pm.c : fix warning
Date: Wed, 4 Jan 2006 08:41:08 -0800 (PST)	[thread overview]
Message-ID: <20060104164108.22099.qmail@web32913.mail.mud.yahoo.com> (raw)

[-- 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 --]



             reply	other threads:[~2006-01-04 16:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-04 16:41 Komal Shah [this message]
2006-01-05  1:19 ` [PATCH] OMAP1: pm.c : fix warning Tony Lindgren

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=20060104164108.22099.qmail@web32913.mail.mud.yahoo.com \
    --to=komal_shah802003@yahoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox