summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/Makefile
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-03-16 12:56:40 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-01 14:28:27 +0400
commit60aae8da298e3ac0af07c8cdb6a98e47e8deab35 (patch)
tree3d8b42210aaff89459c8a7ec7185a8c7e4ac616f /sound/soc/fsl/Makefile
parentf19493a3d25ddf3ac7f27d846d54e95fb91af119 (diff)
downloadlinux-60aae8da298e3ac0af07c8cdb6a98e47e8deab35.tar.xz
ASoC: fsl: create fsl_utils to accommodate the common functions
There is some amount of code duplication between mpc8610_hpcd and p1022_ds machine drivers, and the same code will be duplicated again when another new machine driver is added. The patch creates fsl_utils to accommodate the common functions to stop the code duplication. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Timur Tabi <timur@freescale.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/fsl/Makefile')
-rw-r--r--sound/soc/fsl/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/fsl/Makefile b/sound/soc/fsl/Makefile
index f031409a3929..fbdbed0af909 100644
--- a/sound/soc/fsl/Makefile
+++ b/sound/soc/fsl/Makefile
@@ -8,8 +8,10 @@ obj-$(CONFIG_SND_SOC_P1022_DS) += snd-soc-p1022-ds.o
# Freescale PowerPC SSI/DMA Platform Support
snd-soc-fsl-ssi-objs := fsl_ssi.o
+snd-soc-fsl-utils-objs := fsl_utils.o
snd-soc-fsl-dma-objs := fsl_dma.o
obj-$(CONFIG_SND_SOC_FSL_SSI) += snd-soc-fsl-ssi.o
+obj-$(CONFIG_SND_SOC_FSL_UTILS) += snd-soc-fsl-utils.o
obj-$(CONFIG_SND_SOC_POWERPC_DMA) += snd-soc-fsl-dma.o
# MPC5200 Platform Support