Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] MIPS: PNX8550: Fix build failures
@ 2013-01-16  7:07 Thierry Reding
  2013-01-16  9:15 ` Florian Fainelli
  2013-01-16  9:51 ` Geert Uytterhoeven
  0 siblings, 2 replies; 4+ messages in thread
From: Thierry Reding @ 2013-01-16  7:07 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: Florian Fainelli, linux-mips

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-16 10:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-16  7:07 [PATCH] MIPS: PNX8550: Fix build failures Thierry Reding
2013-01-16  9:15 ` Florian Fainelli
2013-01-16  9:51 ` Geert Uytterhoeven
2013-01-16 10:03   ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox