From 98ee74727894da0250d31c0f43038016aa1f24e8 Mon Sep 17 00:00:00 2001 From: Adrian Alonso Date: Thu, 15 Jun 2017 12:12:49 -0500 Subject: MLK-15098: ASoC: fsl: fix imx-pcm build error when no dma MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix build error when SOC_IMX_PCM_DMA is not enabled error: expected identifier or ‘(’ before ‘{’ token}) Signed-off-by: Adrian Alonso --- sound/soc/fsl/imx-pcm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound/soc/fsl/imx-pcm.h') 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; } -- cgit v1.2.3