summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2016-08-23 18:17:46 +0100
committerMark Brown <broonie@kernel.org>2016-08-24 10:41:15 +0100
commit702650bda073cb9df90e3a091ee515f340133b05 (patch)
tree0b7e329eace280dac35e244b72ac8bea8118fedc /sound
parent2f6963cb52bee440105f732b3411f18e38ed6e52 (diff)
downloadop-kernel-dev-702650bda073cb9df90e3a091ee515f340133b05.zip
op-kernel-dev-702650bda073cb9df90e3a091ee515f340133b05.tar.gz
ASoC: sunxi: depend on ARCH_SUNXI
Depend on ARCH_SUNXI or COMPILE_TEST as it doesn't make sense to enable these if the appropriate SoC they're embedded in isn't enabled. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/sunxi/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sunxi/Kconfig b/sound/soc/sunxi/Kconfig
index 2a954bd..dd23682 100644
--- a/sound/soc/sunxi/Kconfig
+++ b/sound/soc/sunxi/Kconfig
@@ -1,4 +1,5 @@
menu "Allwinner SoC Audio support"
+ depends on ARCH_SUNXI || COMPILE_TEST
config SND_SUN4I_CODEC
tristate "Allwinner A10 Codec Support"
OpenPOWER on IntegriCloud