Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1306127 > unrolled thread

[PATCH] ASoC: AMD: add missing include

Started byArnd Bergmann <arnd@arndb.de>
First post2016-01-11 13:20 +0100
Last post2016-01-11 14:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ASoC: AMD: add missing include Arnd Bergmann <arnd@arndb.de> - 2016-01-11 13:20 +0100
    Re: [PATCH] ASoC: AMD: add missing include Mark Brown <broonie@kernel.org> - 2016-01-11 14:10 +0100

#1306127 — [PATCH] ASoC: AMD: add missing include

FromArnd Bergmann <arnd@arndb.de>
Date2016-01-11 13:20 +0100
Subject[PATCH] ASoC: AMD: add missing include
Message-ID<qPJC2-2eG-27@gated-at.bofh.it>
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>
 

[toc] | [next] | [standalone]


#1306171

FromMark Brown <broonie@kernel.org>
Date2016-01-11 14:10 +0100
Message-ID<qPKos-2P4-43@gated-at.bofh.it>
In reply to#1306127

[Multipart message — attachments visible in raw view] — view raw

On Mon, Jan 11, 2016 at 01:13:01PM +0100, Arnd Bergmann wrote:
> The newly added AMD acp driver is missing an include for linux/io.h
> and fails to build on ARM:

Guenter sent a fix for this first.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web