diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2013-10-10 15:27:56 -0700 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-10-20 23:45:26 +0200 |
commit | 06d513ecb61a6711157707ebe10b968aacc0f2a8 (patch) | |
tree | e1820c550bf516040b5e57ea05f0ea124b8109df /arch/powerpc | |
parent | bba679144d25b91bcd7befff5a96728a30875f54 (diff) | |
download | u-boot-imx-06d513ecb61a6711157707ebe10b968aacc0f2a8.zip u-boot-imx-06d513ecb61a6711157707ebe10b968aacc0f2a8.tar.gz u-boot-imx-06d513ecb61a6711157707ebe10b968aacc0f2a8.tar.bz2 |
usb: add enum usb_init_type parameter to usb_lowlevel_init
This parameter will later be used to verify OTG ports.
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/cpu/mpc5xxx/usb_ohci.c | 2 | ||||
-rw-r--r-- | arch/powerpc/cpu/ppc4xx/usb_ohci.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/cpu/mpc5xxx/usb_ohci.c b/arch/powerpc/cpu/mpc5xxx/usb_ohci.c index 3d345ff..a68f9d6 100644 --- a/arch/powerpc/cpu/mpc5xxx/usb_ohci.c +++ b/arch/powerpc/cpu/mpc5xxx/usb_ohci.c @@ -1544,7 +1544,7 @@ static void hc_release_ohci (ohci_t *ohci) */ static char ohci_inited = 0; -int usb_lowlevel_init(int index, void **controller) +int usb_lowlevel_init(int index, enum usb_init_type init, void **controller) { /* Set the USB Clock */ diff --git a/arch/powerpc/cpu/ppc4xx/usb_ohci.c b/arch/powerpc/cpu/ppc4xx/usb_ohci.c index b371a75..fafc15e 100644 --- a/arch/powerpc/cpu/ppc4xx/usb_ohci.c +++ b/arch/powerpc/cpu/ppc4xx/usb_ohci.c @@ -1549,7 +1549,7 @@ static void hc_release_ohci (ohci_t *ohci) */ static char ohci_inited = 0; -int usb_lowlevel_init(int index, void **controller) +int usb_lowlevel_init(int index, enum usb_init_type init, void **controller) { memset (&gohci, 0, sizeof (ohci_t)); memset (&urb_priv, 0, sizeof (urb_priv_t)); |