summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2019-01-03 15:24:35 +0100
committerStefan Agner <stefan@agner.ch>2019-01-03 15:24:35 +0100
commitddf168f09c90766672afed9ee9a1707953e65613 (patch)
tree8d56f6491ef66573518095fb4a184caddda7920f
parent8becf59f4dab6581a67e13f1a90ecc49c5f27a97 (diff)
ARM: imx: don't build ssi-fiq if not required
The symbols provided by ssi-fiq are used in sound/soc/fsl/imx-pcm-fiq.c only. Build ssi-fiq.o/ssi-fiq-ksym.o only if SND_SOC_IMX_PCM_FIQ is enabled. Signed-off-by: Stefan Agner <stefan@agner.ch>
-rw-r--r--arch/arm/mach-imx/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index bae179af21f6..12b05708832d 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -31,7 +31,7 @@ obj-$(CONFIG_SOC_IMX6SX) += cpuidle-imx6sx.o
obj-$(CONFIG_SOC_IMX6UL) += cpuidle-imx6sx.o
endif
-ifdef CONFIG_SND_IMX_SOC
+ifdef CONFIG_SND_SOC_IMX_PCM_FIQ
obj-y += ssi-fiq.o
obj-y += ssi-fiq-ksym.o
endif