diff options
author | Keshava Munegowda <keshava_mgowda@ti.com> | 2011-03-01 09:38:16 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-03-01 10:01:11 -0500 |
commit | 181b250cf53233a7a7c6d7e1e9df402506712e93 (patch) | |
tree | 476b60593f7b646bdc1e0d56cd38368bed31fe4d /arch/arm/mach-omap2/board-igep0020.c | |
parent | a8480ea0bedbf049423a4caa9b09d371614c07dc (diff) |
arm: omap: usb: create common enums and structures for ehci and ohci
Create the ehci and ohci specific platform data structures.
The port enum values are made common for both ehci and ohci.
Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-igep0020.c')
-rw-r--r-- | arch/arm/mach-omap2/board-igep0020.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index 3be85a1f55f4..a9d7d1dc63ab 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c | |||
@@ -627,10 +627,10 @@ static struct omap_musb_board_data musb_board_data = { | |||
627 | .power = 100, | 627 | .power = 100, |
628 | }; | 628 | }; |
629 | 629 | ||
630 | static const struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { | 630 | static const struct usbhs_omap_board_data usbhs_bdata __initconst = { |
631 | .port_mode[0] = EHCI_HCD_OMAP_MODE_PHY, | 631 | .port_mode[0] = OMAP_EHCI_PORT_MODE_PHY, |
632 | .port_mode[1] = EHCI_HCD_OMAP_MODE_UNKNOWN, | 632 | .port_mode[1] = OMAP_USBHS_PORT_MODE_UNUSED, |
633 | .port_mode[2] = EHCI_HCD_OMAP_MODE_UNKNOWN, | 633 | .port_mode[2] = OMAP_USBHS_PORT_MODE_UNUSED, |
634 | 634 | ||
635 | .phy_reset = true, | 635 | .phy_reset = true, |
636 | .reset_gpio_port[0] = IGEP2_GPIO_USBH_NRESET, | 636 | .reset_gpio_port[0] = IGEP2_GPIO_USBH_NRESET, |
@@ -699,7 +699,7 @@ static void __init igep2_init(void) | |||
699 | platform_add_devices(igep2_devices, ARRAY_SIZE(igep2_devices)); | 699 | platform_add_devices(igep2_devices, ARRAY_SIZE(igep2_devices)); |
700 | omap_serial_init(); | 700 | omap_serial_init(); |
701 | usb_musb_init(&musb_board_data); | 701 | usb_musb_init(&musb_board_data); |
702 | usb_ehci_init(&ehci_pdata); | 702 | usb_ehci_init(&usbhs_bdata); |
703 | 703 | ||
704 | igep2_flash_init(); | 704 | igep2_flash_init(); |
705 | igep2_leds_init(); | 705 | igep2_leds_init(); |