diff options
author | Peter Robinson <pbrobinson@gmail.com> | 2016-08-23 13:17:46 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-08-24 05:41:15 -0400 |
commit | 702650bda073cb9df90e3a091ee515f340133b05 (patch) | |
tree | 0b7e329eace280dac35e244b72ac8bea8118fedc | |
parent | 2f6963cb52bee440105f732b3411f18e38ed6e52 (diff) |
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>
-rw-r--r-- | sound/soc/sunxi/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sunxi/Kconfig b/sound/soc/sunxi/Kconfig index 2a954bd01fd8..dd2368297fd3 100644 --- a/sound/soc/sunxi/Kconfig +++ b/sound/soc/sunxi/Kconfig | |||
@@ -1,4 +1,5 @@ | |||
1 | menu "Allwinner SoC Audio support" | 1 | menu "Allwinner SoC Audio support" |
2 | depends on ARCH_SUNXI || COMPILE_TEST | ||
2 | 3 | ||
3 | config SND_SUN4I_CODEC | 4 | config SND_SUN4I_CODEC |
4 | tristate "Allwinner A10 Codec Support" | 5 | tristate "Allwinner A10 Codec Support" |