From patchwork Thu Jul 21 14:24:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 995032 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p6LEL43d031134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 21 Jul 2011 14:21:24 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qju7Q-0007rU-Dz; Thu, 21 Jul 2011 14:20:53 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Qju7P-0004nv-VJ; Thu, 21 Jul 2011 14:20:51 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qju7N-0004n0-Ud for linux-arm-kernel@canuck.infradead.org; Thu, 21 Jul 2011 14:20:50 +0000 Received: from mail-pv0-f177.google.com ([74.125.83.177]) by casper.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qju7E-000436-3L for linux-arm-kernel@lists.infradead.org; Thu, 21 Jul 2011 14:20:44 +0000 Received: by pvg20 with SMTP id 20so1385666pvg.36 for ; Thu, 21 Jul 2011 07:19:47 -0700 (PDT) Received: by 10.142.66.10 with SMTP id o10mr126352wfa.215.1311257518187; Thu, 21 Jul 2011 07:11:58 -0700 (PDT) Received: from localhost.localdomain ([121.228.79.244]) by mx.google.com with ESMTPS id x16sm681852wfc.9.2011.07.21.07.11.51 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 21 Jul 2011 07:11:56 -0700 (PDT) From: Shawn Guo To: linux-usb@vger.kernel.org Subject: [PATCH] usb/ehci-mxc: add missing inclusion of mach/hardware.h Date: Thu, 21 Jul 2011 22:24:10 +0800 Message-Id: <1311258250-22013-1-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110721_152040_395757_8AC60258 X-CRM114-Status: GOOD ( 12.76 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on casper.infradead.org summary: Content analysis details: (-2.6 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.83.177 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Shawn Guo , Alan Stern , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Thu, 21 Jul 2011 14:21:24 +0000 (UTC) As cpu_is_mx stuff is being used in the driver, header mach/hardware.h should be explicitly included. Signed-off-by: Shawn Guo Acked-by: Uwe Kleine-König --- The missing of the header is causing today's linux-next build error as bleow. CC drivers/usb/host/ehci-hcd.o In file included from linux-next/drivers/usb/host/ehci-hcd.c:1190:0: linux-next/drivers/usb/host/ehci-mxc.c: In function 'ehci_mxc_drv_probe': linux-next/drivers/usb/host/ehci-mxc.c:175:2: error: implicit declaration of function 'cpu_is_mx35' linux-next/drivers/usb/host/ehci-mxc.c:175:2: error: implicit declaration of function 'cpu_is_mx25' linux-next/drivers/usb/host/ehci-mxc.c:185:2: error: implicit declaration of function 'cpu_is_mx51' drivers/usb/host/ehci-mxc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c index 0c058be..555a73c 100644 --- a/drivers/usb/host/ehci-mxc.c +++ b/drivers/usb/host/ehci-mxc.c @@ -24,6 +24,7 @@ #include #include +#include #include #include