diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3pandora.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3pandora.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index a53a6683c1b8..2bba362148a0 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -35,6 +35,7 @@ | |||
35 | #include <linux/mmc/host.h> | 35 | #include <linux/mmc/host.h> |
36 | #include <linux/mmc/card.h> | 36 | #include <linux/mmc/card.h> |
37 | #include <linux/regulator/fixed.h> | 37 | #include <linux/regulator/fixed.h> |
38 | #include <linux/usb/phy.h> | ||
38 | #include <linux/platform_data/spi-omap2-mcspi.h> | 39 | #include <linux/platform_data/spi-omap2-mcspi.h> |
39 | 40 | ||
40 | #include <asm/mach-types.h> | 41 | #include <asm/mach-types.h> |
@@ -567,7 +568,7 @@ static struct platform_device *omap3pandora_devices[] __initdata = { | |||
567 | &pandora_backlight, | 568 | &pandora_backlight, |
568 | }; | 569 | }; |
569 | 570 | ||
570 | static const struct usbhs_omap_board_data usbhs_bdata __initconst = { | 571 | static struct usbhs_omap_platform_data usbhs_bdata __initdata = { |
571 | 572 | ||
572 | .port_mode[0] = OMAP_USBHS_PORT_MODE_UNUSED, | 573 | .port_mode[0] = OMAP_USBHS_PORT_MODE_UNUSED, |
573 | .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY, | 574 | .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY, |
@@ -601,6 +602,7 @@ static void __init omap3pandora_init(void) | |||
601 | ARRAY_SIZE(omap3pandora_spi_board_info)); | 602 | ARRAY_SIZE(omap3pandora_spi_board_info)); |
602 | omap_ads7846_init(1, OMAP3_PANDORA_TS_GPIO, 0, NULL); | 603 | omap_ads7846_init(1, OMAP3_PANDORA_TS_GPIO, 0, NULL); |
603 | usbhs_init(&usbhs_bdata); | 604 | usbhs_init(&usbhs_bdata); |
605 | usb_bind_phy("musb-hdrc.0.auto", 0, "twl4030_usb"); | ||
604 | usb_musb_init(NULL); | 606 | usb_musb_init(NULL); |
605 | gpmc_nand_init(&pandora_nand_data, NULL); | 607 | gpmc_nand_init(&pandora_nand_data, NULL); |
606 | 608 | ||
@@ -618,6 +620,6 @@ MACHINE_START(OMAP3_PANDORA, "Pandora Handheld Console") | |||
618 | .handle_irq = omap3_intc_handle_irq, | 620 | .handle_irq = omap3_intc_handle_irq, |
619 | .init_machine = omap3pandora_init, | 621 | .init_machine = omap3pandora_init, |
620 | .init_late = omap35xx_init_late, | 622 | .init_late = omap35xx_init_late, |
621 | .timer = &omap3_timer, | 623 | .init_time = omap3_sync32k_timer_init, |
622 | .restart = omap3xxx_restart, | 624 | .restart = omap3xxx_restart, |
623 | MACHINE_END | 625 | MACHINE_END |