summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-pcm.h
diff options
context:
space:
mode:
authorAdrian Alonso <adrian.alonso@nxp.com>2017-06-15 12:12:49 -0500
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:51:23 +0800
commit98ee74727894da0250d31c0f43038016aa1f24e8 (patch)
treeda67cd26f1033108035b10c64323a770ff546c5c /sound/soc/fsl/imx-pcm.h
parent3515ccf42e7d61d44d5dbdd7805be528a0d161b5 (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>
Diffstat (limited to 'sound/soc/fsl/imx-pcm.h')
-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 5e4f3892feef..edbb268332bd 100644
--- a/sound/soc/fsl/imx-pcm.h
+++ b/sound/soc/fsl/imx-pcm.h
@@ -56,7 +56,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;
}