ASoC: AMD: add missing include
Subsystems (3)
PATCH 1/1 ASoC: AMD: add missing include
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 <[email protected]>
---
This build error also appeared today on linux-next with ARM randconfig
sound/soc/amd/acp-pcm-dma.c +1 -0
@@ -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>
Mark Brown
maintainerQuoted 2 lines · Arnd Bergmann
The newly added AMD acp driver is missing an include for
linux/io.hand fails to build on ARM:
Guenter sent a fix for this first.