aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-4430sdp.c
diff options
context:
space:
mode:
authorKeshava Munegowda <keshava_mgowda@ti.com>2011-03-01 09:38:16 -0500
committerFelipe Balbi <balbi@ti.com>2011-03-01 10:01:11 -0500
commit181b250cf53233a7a7c6d7e1e9df402506712e93 (patch)
tree476b60593f7b646bdc1e0d56cd38368bed31fe4d /arch/arm/mach-omap2/board-4430sdp.c
parenta8480ea0bedbf049423a4caa9b09d371614c07dc (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-4430sdp.c')
-rw-r--r--arch/arm/mach-omap2/board-4430sdp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c
index 9cf8e333255f..0e1609d3fa85 100644
--- a/arch/arm/mach-omap2/board-4430sdp.c
+++ b/arch/arm/mach-omap2/board-4430sdp.c
@@ -251,10 +251,10 @@ static void __init omap_4430sdp_init_irq(void)
251 gic_init_irq(); 251 gic_init_irq();
252} 252}
253 253
254static const struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { 254static const struct usbhs_omap_board_data usbhs_bdata __initconst = {
255 .port_mode[0] = EHCI_HCD_OMAP_MODE_PHY, 255 .port_mode[0] = OMAP_EHCI_PORT_MODE_PHY,
256 .port_mode[1] = EHCI_HCD_OMAP_MODE_UNKNOWN, 256 .port_mode[1] = OMAP_USBHS_PORT_MODE_UNUSED,
257 .port_mode[2] = EHCI_HCD_OMAP_MODE_UNKNOWN, 257 .port_mode[2] = OMAP_USBHS_PORT_MODE_UNUSED,
258 .phy_reset = false, 258 .phy_reset = false,
259 .reset_gpio_port[0] = -EINVAL, 259 .reset_gpio_port[0] = -EINVAL,
260 .reset_gpio_port[1] = -EINVAL, 260 .reset_gpio_port[1] = -EINVAL,
@@ -584,7 +584,7 @@ static void __init omap_4430sdp_init(void)
584 else 584 else
585 gpio_direction_output(OMAP4SDP_MDM_PWR_EN_GPIO, 1); 585 gpio_direction_output(OMAP4SDP_MDM_PWR_EN_GPIO, 1);
586 586
587 usb_ehci_init(&ehci_pdata); 587 usb_ehci_init(&usbhs_bdata);
588 usb_musb_init(&musb_board_data); 588 usb_musb_init(&musb_board_data);
589 589
590 status = omap_ethernet_init(); 590 status = omap_ethernet_init();