summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorAdrian Alonso <adrian.alonso@nxp.com>2017-06-15 12:12:49 -0500
committerAdrian Alonso <adrian.alonso@nxp.com>2017-06-15 16:34:00 -0500
commit87096594094e5a02586cbdc84ee2b6f5a2c9138b (patch)
tree8d5a2360dcde8255a2a6190b881ee7e449e970b1 /sound
parent258280424256bd9ece5af847a32ae992d93cd428 (diff)
MLK-15098: ASoC: fsl: fix imx-pcm build error when no dma
Fix build error when SOC_IMX_PCM_DMA is not enabled error: expected identifier or ‘(’ before ‘{’ token}) Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> (cherry picked from commit 67ee27e3c97c8deb851ca61fab0e513009b93dbe)
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/fsl/imx-pcm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-pcm.h b/sound/soc/fsl/imx-pcm.h
index 0b2d7753920f..c9c03d2b4aa5 100644
--- a/sound/soc/fsl/imx-pcm.h
+++ b/sound/soc/fsl/imx-pcm.h
@@ -60,7 +60,7 @@ static inline int imx_pcm_dma_init(struct platform_device *pdev, size_t size)
{
return -ENODEV;
}
-static inline int imx_pcm_platform_register(struct device *dev);
+static inline int imx_pcm_platform_register(struct device *dev)
{
return -ENODEV;
}