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@xxxxxxxxxxxxxxxxx>
Thanks for fixing this Thierry, I completely missed that when moving the
OHCI code to platform.c
Acked-by: Florian Fainelli <florian@xxxxxxxxxxx>
---
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>