]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/board-omap3evm.c
HSMMC: Improve the interface for hsmmc_init()
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / board-omap3evm.c
index 614fa02cd7abfb497dd9673fc4d0b08cc581d391..eb21bc56517270a478cd459e5e6acb8bec5d9728 100644 (file)
@@ -233,6 +233,15 @@ static struct platform_device *omap3_evm_devices[] __initdata = {
        &omap3evm_smc911x_device,
 };
 
+static struct twl4030_hsmmc_info mmc[] __initdata = {
+       {
+               .mmc            = 1,
+               .wires          = 4,
+               .gpio_cd        = -EINVAL,
+       },
+       {}      /* Terminator */
+};
+
 static void __init omap3_evm_init(void)
 {
        omap3_evm_i2c_init();
@@ -245,7 +254,7 @@ static void __init omap3_evm_init(void)
                                ARRAY_SIZE(omap3evm_spi_board_info));
 
        omap_serial_init();
-       hsmmc_init(HSMMC1);
+       hsmmc_init(mmc);
        usb_musb_init();
        usb_ehci_init();
        omap3evm_flash_init();