[PATCH] MIPS: PNX8550: Fix build failures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>
---
 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>
 
-- 
1.8.1



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux