[alsa-devel] [PATCH] ASoC: mid-x86: Fix dependency on intel_sst driver

Koul, Vinod vinod.koul at intel.com
Sun Feb 6 11:05:48 CET 2011


From: Vinod Koul <vinod.koul at intel.com>

Enabling medfield asoc driver causes compliation error when intel_sst
is not selected
ERROR: "register_sst_card" [sound/soc/mid-x86/snd-soc-sst-platform.ko]
undefined!

This patch puts proper dependency to elimate build error

Signed-off-by: Vinod Koul <vinod.koul at intel.com>
Signed-off-by: Harsha Priya <priya.harsha at intel.com>
Reported-by: Andrew Morton <akpm at linux-foundation.org>
---
 sound/soc/mid-x86/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/mid-x86/Kconfig b/sound/soc/mid-x86/Kconfig
index 1ad7538..2935042 100644
--- a/sound/soc/mid-x86/Kconfig
+++ b/sound/soc/mid-x86/Kconfig
@@ -1,6 +1,7 @@
 config SND_MFLD_MACHINE
 	tristate "SOC Machine Audio driver for Intel Medfield MID platform"
 	depends on INTEL_SCU_IPC
+	depends on SND_INTEL_SST
 	select SND_SOC_SN95031
 	select SND_SST_PLATFORM
 	help
@@ -11,4 +12,3 @@ config SND_MFLD_MACHINE
 
 config SND_SST_PLATFORM
 	tristate
-	depends on SND_INTEL_SST
-- 
1.7.2.3



More information about the Alsa-devel mailing list