From: Wolfgang Denk Date: Mon, 19 Nov 2007 11:59:14 +0000 (+0100) Subject: Fix build problems with mp2usb board X-Git-Tag: v1.3.0~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e8da58f2bc092891e8cc92b927ed5c4bd0cb0cab;p=u-boot Fix build problems with mp2usb board Signed-off-by: Wolfgang Denk --- diff --git a/drivers/usb_ohci.c b/drivers/usb_ohci.c index 7ddcab63e7..cfa384eff6 100644 --- a/drivers/usb_ohci.c +++ b/drivers/usb_ohci.c @@ -59,6 +59,10 @@ #include #include "usb_ohci.h" +#ifdef CONFIG_AT91RM9200 +#include /* needed for AT91_USB_HOST_BASE */ +#endif + #if defined(CONFIG_ARM920T) || \ defined(CONFIG_S3C2400) || \ defined(CONFIG_S3C2410) || \ diff --git a/include/asm-arm/arch-at91rm9200/hardware.h b/include/asm-arm/arch-at91rm9200/hardware.h index 8bb0c47523..b868e38a3e 100644 --- a/include/asm-arm/arch-at91rm9200/hardware.h +++ b/include/asm-arm/arch-at91rm9200/hardware.h @@ -24,8 +24,6 @@ #ifndef __ASSEMBLY__ #include "AT91RM9200.h" -#else -#include "AT91RM9200_inc.h" #endif /* Virtual and Physical base address for system peripherals */