linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: PNX8550: Fix build failures

To: Thierry Reding <thierry.reding@avionic-design.de>
Subject: Re: [PATCH] MIPS: PNX8550: Fix build failures
From: Florian Fainelli <florian@openwrt.org>
Date: Wed, 16 Jan 2013 10:15:36 +0100
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=bPjldk2Q6/TXBHs2RiufpdaPr/lVvxMzkPENjUKF/es=; b=YmTaWxAAcWcvRS9uZ0QyquNyBSn1OuVz02ZTIlaoyJpukARD9gUls+uGnsS/6pCWWL Pc8Kmw8gk1HV/N356/aBdV1YrJw0qtpga75i+TirfgdNPiAsUB5sR+yWRShfqj7dcS/d jIOnmtSdKHaQaq0nrMUitiPtT4iQIJnvTLPWCni8Qd3R1Ns2xDfJ1/Sz+Vs7TUcLdIiE E7tmbhnW+CyKu2AUY3H6+tWCG9pWa1C+K4RlAOWZid2M/6cCGCk078w9rENS01vtA0mE RW3J/Ev32WBLpHSyZ+4n+8PNJjc7i3ItScSUeub4UOnlnPRpwH6m+6J/WN1iiKinpcwG +fFw==
In-reply-to: <1358320033-30032-1-git-send-email-thierry.reding@avionic-design.de>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Organization: OpenWrt
References: <1358320033-30032-1-git-send-email-thierry.reding@avionic-design.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2
On 01/16/2013 08:07 AM, Thierry Reding wrote:
The OHCI support code fails to build because the PCI_BASE and udelay()
macros which are defined in pci.h and linux/time.h respectively. Adding
corresponding includes fixes these build failures.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>

Thanks for fixing this Thierry, I completely missed that when moving the OHCI code to platform.c

Acked-by: Florian Fainelli <florian@openwrt.org>

---
  arch/mips/pnx8550/common/platform.c | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/arch/mips/pnx8550/common/platform.c 
b/arch/mips/pnx8550/common/platform.c
index 0a8faea..9782fde 100644
--- a/arch/mips/pnx8550/common/platform.c
+++ b/arch/mips/pnx8550/common/platform.c
@@ -19,10 +19,12 @@
  #include <linux/resource.h>
  #include <linux/serial.h>
  #include <linux/serial_pnx8xxx.h>
+#include <linux/delay.h>
  #include <linux/platform_device.h>
  #include <linux/usb/ohci_pdriver.h>
#include <int.h>
+#include <pci.h>
  #include <usb.h>
  #include <uart.h>


<Prev in Thread] Current Thread [Next in Thread>