summaryrefslogtreecommitdiff
path: root/sound/soc/sof/Kconfig
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2019-05-30 06:50:15 -0500
committerMark Brown <broonie@kernel.org>2019-05-30 16:35:26 +0100
commite13ef82a9ab83dd21d8dd43ef9f5e8bf5b101106 (patch)
tree2f7732bdbd21e1c9785d1a6e2912a8c4c53a6d0b /sound/soc/sof/Kconfig
parent8fe751d8fd5cbf19e9d7852c5b7d8ed818be1934 (diff)
ASoC: SOF: add COMPILE_TEST for PCI options
Add COMPILE_TEST and use IS_ENABLED(CONFIG_PCI) to sort out cross-compilation issues. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/Kconfig')
-rw-r--r--sound/soc/sof/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sof/Kconfig b/sound/soc/sof/Kconfig
index a9a1d502daae..ca3ad3362478 100644
--- a/sound/soc/sof/Kconfig
+++ b/sound/soc/sof/Kconfig
@@ -10,7 +10,7 @@ if SND_SOC_SOF_TOPLEVEL
config SND_SOC_SOF_PCI
tristate "SOF PCI enumeration support"
- depends on PCI
+ depends on PCI || COMPILE_TEST
select SND_SOC_SOF
select SND_SOC_ACPI if ACPI
select SND_SOC_SOF_OPTIONS