From patchwork Thu Jun 17 14:09:24 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar Gupta X-Patchwork-Id: 106689 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o5HE9f83002417 for ; Thu, 17 Jun 2010 14:09:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760100Ab0FQOJi (ORCPT ); Thu, 17 Jun 2010 10:09:38 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:38266 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760063Ab0FQOJh convert rfc822-to-8bit (ORCPT ); Thu, 17 Jun 2010 10:09:37 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id o5HE9Tbm014331 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 17 Jun 2010 09:09:31 -0500 Received: from dbde70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id o5HE9QJO010482; Thu, 17 Jun 2010 19:39:27 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde70.ent.ti.com ([172.24.170.148]) with mapi; Thu, 17 Jun 2010 19:39:26 +0530 From: "Gupta, Ajay Kumar" To: Sergei Shtylyov CC: "linux-usb@vger.kernel.org" , "linux-omap@vger.kernel.org" , "felipe.balbi@nokia.com" , "gregkh@suse.de" Date: Thu, 17 Jun 2010 19:39:24 +0530 Subject: RE: [PATCH 3/8] musb: fix compilation warning in host only mode Thread-Topic: [PATCH 3/8] musb: fix compilation warning in host only mode Thread-Index: AcsOIJkIShfYJRfzR/CSbX4DcGXlKAABc1GQ Message-ID: <19F8576C6E063C45BE387C64729E7394044E91B88E@dbde02.ent.ti.com> References: <1276771242-5201-1-git-send-email-ajay.gupta@ti.com> <1276771242-5201-2-git-send-email-ajay.gupta@ti.com> <1276771242-5201-3-git-send-email-ajay.gupta@ti.com> <1276771242-5201-4-git-send-email-ajay.gupta@ti.com> <4C1A0499.9020802@ru.mvista.com> <19F8576C6E063C45BE387C64729E7394044E91B843@dbde02.ent.ti.com> <4C1A2220.7070502@mvista.com> In-Reply-To: <4C1A2220.7070502@mvista.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 17 Jun 2010 14:09:41 +0000 (UTC) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index a8b0440..cfae447 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -704,7 +704,9 @@ static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb, #ifdef CONFIG_USB_MUSB_HDRC_HCD if (int_usb & MUSB_INTR_CONNECT) { struct usb_hcd *hcd = musb_to_hcd(musb); +#ifdef CONFIG_USB_MUSB_OTG void __iomem *mbase = musb->mregs; +#endif handled = IRQ_HANDLED; musb->is_active = 1;