[Top] [All Lists]

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

To: Thierry Reding <>
Subject: Re: [PATCH] MIPS: PNX8550: Fix build failures
From: Florian Fainelli <>
Date: Wed, 16 Jan 2013 10:15:36 +0100
Cc: Ralf Baechle <>,
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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: <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Organization: OpenWrt
References: <>
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 <>

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

Acked-by: Florian Fainelli <>

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

diff --git a/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>