* published by the Free Software Foundation.
*/
-#include <mach/mmc.h>
-
-#include <asm/mach-types.h>
#include <linux/delay.h>
+#include <linux/platform_device.h>
#include <linux/i2c/menelaus.h>
+#include <asm/mach-types.h>
+
+#include <mach/mmc.h>
+
#ifdef CONFIG_MMC_OMAP
/* Bit mask for slots detection interrupts */
.init = h4_mmc_late_init,
.cleanup = h4_mmc_cleanup,
.slots[0] = {
+ .enabled = 1,
+ .wire4 = 1,
.set_power = h4_mmc_set_power,
.set_bus_mode = h4_mmc_set_bus_mode,
.get_ro = NULL,
.name = "slot1",
},
.slots[1] = {
+ .enabled = 1,
+ .wire4 = 1,
.set_power = h4_mmc_set_power,
.set_bus_mode = h4_mmc_set_bus_mode,
.get_ro = NULL,
void __init h4_mmc_init(void)
{
- omap_set_mmc_info(1, &h4_mmc_data);
+ omap2_init_mmc(&h4_mmc_data);
}
#else