| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH] MIPS: PNX8550: Fix build failures |
| From: | Thierry Reding <thierry.reding@avionic-design.de> |
| Date: | Wed, 16 Jan 2013 08:07:13 +0100 |
| Cc: | Florian Fainelli <florian@openwrt.org>, linux-mips@linux-mips.org |
| 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> |
| Sender: | linux-mips-bounce@linux-mips.org |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] mips: function tracer: Fix broken function tracing, Alan Cooper |
|---|---|
| Next by Date: | [PATCH] MIPS: bcm47xx: Fix BCMA build failure, Thierry Reding |
| Previous by Thread: | [PATCH] [RFC] Proposed changes to eliminate 'union mips_instruction' type., Steven J. Hill |
| Next by Thread: | Re: [PATCH] MIPS: PNX8550: Fix build failures, Florian Fainelli |
| Indexes: | [Date] [Thread] [Top] [All Lists] |