From patchwork Tue Sep 22 15:11:40 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olof Johansson X-Patchwork-Id: 49327 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8MEtqCI032718 for ; Tue, 22 Sep 2009 14:55:52 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756751AbZIVOzr (ORCPT ); Tue, 22 Sep 2009 10:55:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756543AbZIVOzr (ORCPT ); Tue, 22 Sep 2009 10:55:47 -0400 Received: from lixom.net ([66.141.50.11]:37827 "EHLO mail.lixom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756497AbZIVOzr (ORCPT ); Tue, 22 Sep 2009 10:55:47 -0400 Received: by mail.lixom.net (Postfix, from userid 999) id E4B11B795F; Tue, 22 Sep 2009 10:11:40 -0500 (CDT) Date: Tue, 22 Sep 2009 10:11:40 -0500 From: Olof Johansson To: Ajay Kumar Gupta Cc: linux-omap@vger.kernel.org, tony@atomide.com Subject: [PATCH] usb: ehci-omap: Fix build break Message-ID: <20090922151140.GB8975@lixom.net> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Fix build break: CC drivers/usb/host/ehci-hcd.o In file included from drivers/usb/host/ehci-hcd.c:1101: drivers/usb/host/ehci-omap.c: In function 'omap_start_ehc': drivers/usb/host/ehci-omap.c:238: error: 'CHIP_GE_OMAP3430ES3' undeclared (first use in this function) drivers/usb/host/ehci-omap.c:238: error: (Each undeclared identifier is reported only once drivers/usb/host/ehci-omap.c:238: error: for each function it appears in.) make[3]: *** [drivers/usb/host/ehci-hcd.o] Error 1 No reference to CHIP_GE_OMAP3430ES3 anywhere else, I'm assuming it's ES3_1 that's supposed to be used. Signed-off-by: Olof Johansson --- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index f77a99d..301e7b6 100644 --- a/drivers/usb/host/ehci-omap.c +++ b/drivers/usb/host/ehci-omap.c @@ -235,7 +235,7 @@ static void omap_usb_utmi_init(struct ehci_hcd_omap *omap, u8 tll_channel_mask) */ static int omap_start_ehc(struct ehci_hcd_omap *omap, struct usb_hcd *hcd) { - struct omap_chip_id oci = OMAP_CHIP_INIT(CHIP_GE_OMAP3430ES3); + struct omap_chip_id oci = OMAP_CHIP_INIT(CHIP_GE_OMAP3430ES3_1); unsigned long timeout = jiffies + msecs_to_jiffies(1000); u8 tll_ch_mask = 0; unsigned reg = 0;