* [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
* Re: [PATCH] MIPS: PNX8550: Fix build failures
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
1 sibling, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2013-01-16 9:15 UTC (permalink / raw)
To: Thierry Reding; +Cc: Ralf Baechle, linux-mips
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@avionic-design.de>
Thanks for fixing this Thierry, I completely missed that when moving the
OHCI code to platform.c
Acked-by: Florian Fainelli <florian@openwrt.org>
> ---
> 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>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] MIPS: PNX8550: Fix build failures
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
1 sibling, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2013-01-16 9:51 UTC (permalink / raw)
To: Thierry Reding; +Cc: Ralf Baechle, Florian Fainelli, linux-mips
On Wed, Jan 16, 2013 at 8:07 AM, Thierry Reding
<thierry.reding@avionic-design.de> 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
> +#include <linux/delay.h>
time.h or delay.h?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] MIPS: PNX8550: Fix build failures
2013-01-16 9:51 ` Geert Uytterhoeven
@ 2013-01-16 10:03 ` Thierry Reding
0 siblings, 0 replies; 4+ messages in thread
From: Thierry Reding @ 2013-01-16 10:03 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Ralf Baechle, Florian Fainelli, linux-mips
[-- Attachment #1: Type: text/plain, Size: 481 bytes --]
On Wed, Jan 16, 2013 at 10:51:47AM +0100, Geert Uytterhoeven wrote:
> On Wed, Jan 16, 2013 at 8:07 AM, Thierry Reding
> <thierry.reding@avionic-design.de> 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
>
> > +#include <linux/delay.h>
>
> time.h or delay.h?
That'd be delay.h. Can this be fixed up when the patch is committed or
shall I resend?
Thierry
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [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