diff options
author | Guenter Roeck <linux@roeck-us.net> | 2016-01-11 02:41:05 -0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-01-11 13:03:58 +0000 |
commit | 7cb1dc810935fbf82ad06007dc7fb08d93c1e59f (patch) | |
tree | a09c29d577c0d16d3794dbc8775c42fbd605c08c /sound/soc/amd | |
parent | c36d9b3f6de7c6aefed5fdf6ad752773bdafa60c (diff) |
ASoC: AMD: Add missing include file
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 <Maruthi.Bayyavarapu@amd.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd')
-rw-r--r-- | sound/soc/amd/acp-pcm-dma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/amd/acp-pcm-dma.c index cc8b841b69b6..3191e0a7d273 100644 --- a/sound/soc/amd/acp-pcm-dma.c +++ b/sound/soc/amd/acp-pcm-dma.c @@ -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> |