]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/arm/mach-omap2/board-2430sdp.c
omap: musb: Pass board specific data from board file
[mv-sheeva.git] / arch / arm / mach-omap2 / board-2430sdp.c
index d6f55ef9059d411666304a1229932b18f638c5b2..01d113ff9fcf366aff724f23d53811a890aa3090 100644 (file)
@@ -193,6 +193,12 @@ static struct omap2_hsmmc_info mmc[] __initdata = {
        {}      /* Terminator */
 };
 
+static struct omap_musb_board_data musb_board_data = {
+       .interface_type         = MUSB_INTERFACE_ULPI,
+       .mode                   = MUSB_OTG,
+       .power                  = 100,
+};
+
 static void __init omap_2430sdp_init(void)
 {
        int ret;
@@ -202,7 +208,7 @@ static void __init omap_2430sdp_init(void)
        platform_add_devices(sdp2430_devices, ARRAY_SIZE(sdp2430_devices));
        omap_serial_init();
        omap2_hsmmc_init(mmc);
-       usb_musb_init();
+       usb_musb_init(&musb_board_data);
        board_smc91x_init();
 
        /* Turn off secondary LCD backlight */