summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorTapani <tapani@vmail.me>2012-12-31 18:36:24 +0100
committerTapani <tapani@vmail.me>2012-12-31 18:36:24 +0100
commit2775c91171586349ca87327bbde21e21bfc4d7e2 (patch)
tree40d431a2a666a18d27d9fd9944dd2a9c2e5752fb /sound
parentb5ab64a985613814cd4396c6ca0fcc36bfee193a (diff)
Fix compile break when sound is compiled as modules: ssi and esai were both compiled into the same module
and both contain a module_init(). The fix is cleaning up sound/soc/imx/Makefile. A result is that HDMI config is not assumed always enabled.
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/imx/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/sound/soc/imx/Makefile b/sound/soc/imx/Makefile
index cc0a7d997609..4b214d6b21ec 100644
--- a/sound/soc/imx/Makefile
+++ b/sound/soc/imx/Makefile
@@ -1,13 +1,16 @@
# i.MX Platform Support
-snd-soc-imx-objs := imx-ssi.o imx-esai.o imx-hdmi-dai.o hdmi_pcm.o
+snd-soc-imx-objs := imx-ssi.o imx-esai.o
snd-soc-imx-fiq-objs := imx-pcm-fiq.o
-snd-soc-imx-mx2-objs := imx-pcm-dma-mx2.o imx-hdmi-dma.o
+snd-soc-imx-mx2-objs := imx-pcm-dma-mx2.o
snd-soc-imx-spdif-dai-objs := imx-spdif-dai.o
obj-$(CONFIG_SND_IMX_SOC) += snd-soc-imx.o
obj-$(CONFIG_SND_MXC_SOC_FIQ) += snd-soc-imx-fiq.o
obj-$(CONFIG_SND_MXC_SOC_MX2) += snd-soc-imx-mx2.o
obj-$(CONFIG_SND_MXC_SOC_SPDIF_DAI) += snd-soc-imx-spdif-dai.o
+obj-$(CONFIG_SND_SOC_IMX_HDMI) += imx-hdmi-dai.o
+obj-$(CONFIG_SND_SOC_IMX_HDMI) += imx-hdmi-dma.o
+obj-$(CONFIG_SND_SOC_IMX_HDMI) += hdmi_pcm.o
# i.MX Machine Support
snd-soc-eukrea-tlv320-objs := eukrea-tlv320.o