aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap3touchbook.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3touchbook.c')
-rw-r--r--arch/arm/mach-omap2/board-omap3touchbook.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-omap3touchbook.c b/arch/arm/mach-omap2/board-omap3touchbook.c
index 263cb9cfbf37..bcd44fbcd877 100644
--- a/arch/arm/mach-omap2/board-omap3touchbook.c
+++ b/arch/arm/mach-omap2/board-omap3touchbook.c
@@ -28,6 +28,7 @@
28#include <linux/mtd/partitions.h> 28#include <linux/mtd/partitions.h>
29#include <linux/mtd/nand.h> 29#include <linux/mtd/nand.h>
30#include <linux/mmc/host.h> 30#include <linux/mmc/host.h>
31#include <linux/usb/phy.h>
31 32
32#include <linux/platform_data/spi-omap2-mcspi.h> 33#include <linux/platform_data/spi-omap2-mcspi.h>
33#include <linux/spi/spi.h> 34#include <linux/spi/spi.h>
@@ -309,7 +310,7 @@ static struct platform_device *omap3_touchbook_devices[] __initdata = {
309 &keys_gpio, 310 &keys_gpio,
310}; 311};
311 312
312static const struct usbhs_omap_board_data usbhs_bdata __initconst = { 313static struct usbhs_omap_platform_data usbhs_bdata __initdata = {
313 314
314 .port_mode[0] = OMAP_EHCI_PORT_MODE_PHY, 315 .port_mode[0] = OMAP_EHCI_PORT_MODE_PHY,
315 .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY, 316 .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY,
@@ -365,6 +366,7 @@ static void __init omap3_touchbook_init(void)
365 366
366 /* Touchscreen and accelerometer */ 367 /* Touchscreen and accelerometer */
367 omap_ads7846_init(4, OMAP3_TS_GPIO, 310, &ads7846_pdata); 368 omap_ads7846_init(4, OMAP3_TS_GPIO, 310, &ads7846_pdata);
369 usb_bind_phy("musb-hdrc.0.auto", 0, "twl4030_usb");
368 usb_musb_init(NULL); 370 usb_musb_init(NULL);
369 usbhs_init(&usbhs_bdata); 371 usbhs_init(&usbhs_bdata);
370 board_nand_init(omap3touchbook_nand_partitions, 372 board_nand_init(omap3touchbook_nand_partitions,
@@ -386,6 +388,6 @@ MACHINE_START(TOUCHBOOK, "OMAP3 touchbook Board")
386 .handle_irq = omap3_intc_handle_irq, 388 .handle_irq = omap3_intc_handle_irq,
387 .init_machine = omap3_touchbook_init, 389 .init_machine = omap3_touchbook_init,
388 .init_late = omap3430_init_late, 390 .init_late = omap3430_init_late,
389 .timer = &omap3_secure_timer, 391 .init_time = omap3_secure_sync32k_timer_init,
390 .restart = omap3xxx_restart, 392 .restart = omap3xxx_restart,
391MACHINE_END 393MACHINE_END