From: Komal Shah Subject: [PATCH] OMAP1: pm.c : fix warning Date: Wed, 4 Jan 2006 08:41:08 -0800 (PST) Message-ID: <20060104164108.22099.qmail@web32913.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1408544721-1136392868=:20169" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org --0-1408544721-1136392868=:20169 Content-Type: text/plain; charset=iso-8859-1 Content-Id: Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by reloaded.ext.ti.com id k04GfM5D007023 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 Shah http://komalshah.blogspot.com/ =09 __________________________________________=20 Yahoo! DSL =96 Something to write home about.=20 Just $16.99/mo. or less.=20 dsl.yahoo.com=20 --0-1408544721-1136392868=:20169 Content-Type: text/plain; name="pm-fix.patch" Content-Description: 2034432102-pm-fix.patch Content-Disposition: inline; filename="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; --0-1408544721-1136392868=:20169 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 7bit --0-1408544721-1136392868=:20169--