ARM: davinci: dm365-evm: Update for the new ASoC Kcofnig options
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 17 Dec 2018 12:21:38 +0000 (14:21 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 18 Dec 2018 12:23:01 +0000 (12:23 +0000)
The codec selection config options for DMA365 has been changed.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
arch/arm/mach-davinci/board-dm365-evm.c

index 8143756ff38b022be3011fc6c901d9097edcf02b..09e439d4abf5398a251381991819e2614610c0e6 100644 (file)
@@ -794,9 +794,9 @@ static __init void dm365_evm_init(void)
        /* maybe setup mmc1/etc ... _after_ mmc0 */
        evm_init_cpld();
 
-#ifdef CONFIG_SND_DM365_AIC3X_CODEC
+#ifdef CONFIG_SND_SOC_DM365_AIC3X_CODEC
        dm365_init_asp();
-#elif defined(CONFIG_SND_DM365_VOICE_CODEC)
+#elif defined(CONFIG_SND_SOC_DM365_VOICE_CODEC)
        dm365_init_vc();
 #endif
        dm365_init_rtc();