ASoC: qcom: remove incorrect dependencies
authorArnd Bergmann <arnd@arndb.de>
Thu, 21 May 2015 09:07:08 +0000 (11:07 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 21 May 2015 10:59:53 +0000 (11:59 +0100)
Compile-tests show a warning for the newly added SND_SOC_STORM
symbol:

warning: (SND_SOC_STORM) selects SND_SOC_LPASS_CPU which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_QCOM)

The problem is that it can be selected for COMPILE_TEST on non-QCOM
builds, but the symbols it selects have a dependency.
Dropping the dependencies makes it work without warnings and no
other side-effects, because these are not user-visible.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: f380dd3f3cd ("ASoC: qcom: Add ability to build QCOM drivers")
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/Kconfig

index 5f58e4f1bca98b5c4c4c951dce24036aafa2d694..b07f183fc47f0a3de2b8325b2204fde64f3c90da 100644 (file)
@@ -6,12 +6,10 @@ config SND_SOC_QCOM
 
 config SND_SOC_LPASS_CPU
        tristate
-       depends on SND_SOC_QCOM
        select REGMAP_MMIO
 
 config SND_SOC_LPASS_PLATFORM
        tristate
-       depends on SND_SOC_QCOM
        select REGMAP_MMIO
 
 config SND_SOC_STORM