delta: Fix OHCI_REGS_BASE undeclared and wait_ms implicit declaration
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fri, 19 Oct 2007 08:55:24 +0000 (10:55 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 23 Oct 2007 22:29:14 +0000 (00:29 +0200)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
cpu/pxa/usb.c
include/configs/delta.h

index d2812a413ed37cb1b1073f04f615927366477297..72b7dfadfe70ff2e180458c434e588cc31c45693 100644 (file)
@@ -27,6 +27,7 @@
 # if defined(CONFIG_CPU_MONAHANS) || defined(CONFIG_PXA27X)
 
 #include <asm/arch/pxa-regs.h>
+#include <usb.h>
 
 int usb_cpu_init(void)
 {
index 09667edaa5a51754daed85157668d1d4c4d4b5cb..14fde1a957942519b6685927c0e778aee4573e77 100644 (file)
 #define CONFIG_USB_STORAGE      1
 #define CONFIG_DOS_PARTITION    1
 
+#include <asm/arch/pxa-regs.h> /* for OHCI_REGS_BASE */
+
 #undef CFG_USB_OHCI_BOARD_INIT
 #define CFG_USB_OHCI_CPU_INIT  1
 #define CFG_USB_OHCI_REGS_BASE OHCI_REGS_BASE