diff options
author | Lucas Stach | 2012-09-26 00:14:34 +0200 |
---|---|---|
committer | Tom Rini | 2012-10-15 11:54:00 -0700 |
commit | c7e3b2b58636704d504ac270031d87b716d8b273 (patch) | |
tree | ccbba6153c289fdb23ce766b80094b0a98d53bd2 /arch/sparc/lib | |
parent | 5527efe501c117fc86273e2d7c7b6f30884015c3 (diff) |
usb: lowlevel interface change to support multiple controllers
Carry an index in the lowlevel usb functions to make specify the
respective usb controller.
Also pass through an controller struct from lowlevel_init to the
creation of the root usb device of this controller.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/sparc/lib')
-rw-r--r-- | arch/sparc/lib/bootm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/lib/bootm.c b/arch/sparc/lib/bootm.c index e5b933d1d6b..bcc63584bfe 100644 --- a/arch/sparc/lib/bootm.c +++ b/arch/sparc/lib/bootm.c @@ -36,7 +36,7 @@ extern void srmmu_init_cpu(unsigned int entry); extern void prepare_bootargs(char *bootargs); #ifdef CONFIG_USB_UHCI -extern int usb_lowlevel_stop(void); +extern int usb_lowlevel_stop(int index); #endif /* sparc kernel argument (the ROM vector) */ |