summaryrefslogtreecommitdiffstats
path: root/sound/soc/dwc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/dwc/Makefile')
-rw-r--r--sound/soc/dwc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/dwc/Makefile b/sound/soc/dwc/Makefile
index 319371f690f4..38f1ca31c5fa 100644
--- a/sound/soc/dwc/Makefile
+++ b/sound/soc/dwc/Makefile
@@ -1,3 +1,5 @@
# SYNOPSYS Platform Support
obj-$(CONFIG_SND_DESIGNWARE_I2S) += designware_i2s.o
-
+ifdef CONFIG_SND_DESIGNWARE_PCM
+obj-$(CONFIG_SND_DESIGNWARE_I2S) += designware_pcm.o
+endif
OpenPOWER on IntegriCloud