[alsa-devel] [PATCH] ASoC: mid-x86: Fix dependency on intel_sst driver
Liam Girdwood
lrg at slimlogic.co.uk
Sun Feb 6 15:42:01 CET 2011
On Sun, 2011-02-06 at 15:35 +0530, Koul, Vinod wrote:
> 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
Acked-by: liam Girdwood <lrg at slimlogic.co.uk>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
More information about the Alsa-devel
mailing list