@@ -505,6 +505,16 @@ static void __init omap_sfh7741prox_init(void)
}
}
+static struct platform_device codec_dmic0 = {
+ .name = "dmic-codec",
+ .id = 0,
+};
+
+static inline void omap_dmic_init(void)
+{
+ platform_device_register(&codec_dmic0);
+}
+
static void __init omap_4430sdp_init(void)
{
int status;
@@ -528,6 +538,7 @@ static void __init omap_4430sdp_init(void)
spi_register_board_info(sdp4430_spi_board_info,
ARRAY_SIZE(sdp4430_spi_board_info));
}
+ omap_dmic_init();
}
static void __init omap_4430sdp_map_io(void)