ASoC: mid-x86: Fix dependency on intel_sst driver
authorVinod Koul <vinod.koul@intel.com>
Sun, 6 Feb 2011 10:05:48 +0000 (15:35 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 7 Feb 2011 11:23:45 +0000 (11:23 +0000)
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@intel.com>
Signed-off-by: Harsha Priya <priya.harsha@intel.com>
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/mid-x86/Kconfig

index 1ad7538..2935042 100644 (file)
@@ -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