* [PATCH] ASoC: AMD: add missing include
@ 2016-01-11 12:13 Arnd Bergmann
2016-01-11 13:03 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2016-01-11 12:13 UTC (permalink / raw)
To: linux-arm-kernel
The newly added AMD acp driver is missing an include for linux/io.h
and fails to build on ARM:
sound/soc/amd/acp-pcm-dma.c: In function 'acp_reg_read':
sound/soc/amd/acp-pcm-dma.c:83:9: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration]
This adds the missing line.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
This build error also appeared today on linux-next with ARM randconfig
diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/amd/acp-pcm-dma.c
index cc8b841b69b6..fa0311e4faed 100644
--- a/sound/soc/amd/acp-pcm-dma.c
+++ b/sound/soc/amd/acp-pcm-dma.c
@@ -17,6 +17,7 @@
#include <linux/delay.h>
#include <linux/sizes.h>
#include <linux/pm_runtime.h>
+#include <linux/io.h>
#include <sound/soc.h>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-11 13:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-11 12:13 [PATCH] ASoC: AMD: add missing include Arnd Bergmann
2016-01-11 13:03 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox