Browse Source

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>
Peter Robinson 9 years ago
parent
commit
702650bda0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      sound/soc/sunxi/Kconfig

+ 1 - 0
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"