]> Git Repo - linux.git/commitdiff
ASoC: AMD: Add missing include file
authorGuenter Roeck <[email protected]>
Mon, 11 Jan 2016 10:41:05 +0000 (02:41 -0800)
committerMark Brown <[email protected]>
Mon, 11 Jan 2016 13:03:58 +0000 (13:03 +0000)
arm:allmodconfig, s390:allmodconfig, sparc64:allmodconfig, and probably
other builds fail with

sound/soc/amd/acp-pcm-dma.c:83:2: error:
implicit declaration of function ‘readl’
sound/soc/amd/acp-pcm-dma.c:88:2: error:
implicit declaration of function ‘writel’

Include linux/io.h explicitly to fix the problem.

Fixes: 7c31335a03b6a ("ASoC: AMD: add AMD ASoC ACP 2.x DMA driver")
Cc: Maruthi Srinivas Bayyavarapu <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/amd/acp-pcm-dma.c

index cc8b841b69b67002ad493388d87130fd51989a6c..3191e0a7d273213515ccd3e049e66c4f6ddc5f67 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <linux/module.h>
 #include <linux/delay.h>
+#include <linux/io.h>
 #include <linux/sizes.h>
 #include <linux/pm_runtime.h>
 
This page took 0.061182 seconds and 4 git commands to generate.