]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/arm/mach-omap2/board-omap3pandora.c
omap: musb: Pass board specific data from board file
[net-next-2.6.git] / arch / arm / mach-omap2 / board-omap3pandora.c
index a0acf8d1e806e01c0e45304f2da7c677302baaa0..4827f4658df391ab3023c25e28d7ca7901628417 100644 (file)
@@ -557,6 +557,12 @@ static struct omap_board_mux board_mux[] __initdata = {
 #define board_mux      NULL
 #endif
 
+static struct omap_musb_board_data musb_board_data = {
+       .interface_type         = MUSB_INTERFACE_ULPI,
+       .mode                   = MUSB_OTG,
+       .power                  = 100,
+};
+
 static void __init omap3pandora_init(void)
 {
        omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
@@ -569,7 +575,7 @@ static void __init omap3pandora_init(void)
        omap3pandora_ads7846_init();
        usb_ehci_init(&ehci_pdata);
        pandora_keys_gpio_init();
-       usb_musb_init();
+       usb_musb_init(&musb_board_data);
 
        /* Ensure SDRC pins are mux'd for self-refresh */
        omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT);