Skip to contentSkip to conversation

delta: Fix OHCI_REGS_BASE undeclared and wait_ms implicit declaration

PATCH New Jean-Christophe PLAGNIOL-VILLARD 2 participants 2 messages Oct 19, 2007 – Oct 23, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 delta: Fix OHCI_REGS_BASE undeclared and wait_ms implicit declaration

cpu/pxa/usb.c +1 -0
index d2812a4..72b7dfa 100644
@@ -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)
 {
include/configs/delta.h +2 -0
index 09667ed..14fde1a 100644
@@ -123,6 +123,8 @@
 #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
Signature · 1 line
1.5.3.2
#1 lore raw

PATCH 1/1 delta: Fix OHCI_REGS_BASE undeclared and wait_ms implicit declaration

cpu/pxa/usb.c

Quoted 3 lines · In message <[email protected]> you wrote:
cpu/pxa/usb.c +0 -0

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The only way to learn a new programming language is by  writing  pro-
grams in it.                                        - Brian Kernighan