diff options
author | Paul Cercueil <paul@crapouillou.net> | 2020-05-23 15:54:55 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-28 15:20:17 +0300 |
commit | e6825bae26812e981c4d6f93214f0259ca9a4977 (patch) | |
tree | 3341c1c68029054aee3c6934c0720f05691382ff /sound/soc/jz4740/Kconfig | |
parent | 93e0f69a40c821449ff3cd6b5bb61fce64e8dbb2 (diff) | |
download | linux-e6825bae26812e981c4d6f93214f0259ca9a4977.tar.xz |
ASoC: ingenic: Unconditionally depend on devicetree
All boards with Ingenic SoCs probe with devicetree already, we have no
use for a non-devicetree path.
This solves some compilation warnings that were caused by unused
variables in the case where CONFIG_OF was disabled.
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20200523125455.12392-1-paul@crapouillou.net
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/jz4740/Kconfig')
-rw-r--r-- | sound/soc/jz4740/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/jz4740/Kconfig b/sound/soc/jz4740/Kconfig index e72f826062e9..29144720cb62 100644 --- a/sound/soc/jz4740/Kconfig +++ b/sound/soc/jz4740/Kconfig @@ -2,7 +2,7 @@ config SND_JZ4740_SOC_I2S tristate "SoC Audio (I2S protocol) for Ingenic JZ4740 SoC" depends on MIPS || COMPILE_TEST - depends on HAS_IOMEM + depends on OF && HAS_IOMEM select SND_SOC_GENERIC_DMAENGINE_PCM help Say Y if you want to use I2S protocol and I2S codec on Ingenic JZ4740 |