linux-stable/sound/soc/amd
YueHaibing 14beaccc36
ASoc: amd: acp3x: Add missing include <linux/io.h>
gcc 7.4.0 build fails:

In file included from sound/soc/amd/acp3x-rt5682-max9836.c:20:0:
sound/soc/amd/raven/acp3x.h: In function rv_readl:
sound/soc/amd/raven/acp3x.h:113:9: error: implicit declaration of function readl; did you mean rv_readl? [-Werror=implicit-function-declaration]
  return readl(base_addr - ACP3x_PHY_BASE_ADDRESS);
         ^~~~~
         rv_readl
sound/soc/amd/raven/acp3x.h: In function rv_writel:
sound/soc/amd/raven/acp3x.h:118:2: error: implicit declaration of function writel; did you mean rv_writel? [-Werror=implicit-function-declaration]
  writel(val, base_addr - ACP3x_PHY_BASE_ADDRESS);
  ^~~~~~
  rv_writel

Add <linux/io.h> to fix this.

Fixes: 6b8e4e7db3 ("ASoC: amd: Add machine driver for Raven based platform")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Message-Id: <20200304084057.44764-1-yuehaibing@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-03-04 13:34:20 +00:00
..
include
raven ASoC: amd: Allow I2S wake event after ACP is powerd On 2020-02-26 18:14:15 +00:00
acp-da7219-max98357a.c ASoC: AMD: Enable clk in startup intead of hw_params 2019-11-27 12:50:08 +00:00
acp-pcm-dma.c ASoC: amd: Drop superfluous ioctl PCM ops 2019-12-11 15:55:28 +00:00
acp-rt5645.c ASoC: amd: acp-rt5645: use modern dai_link style 2019-06-06 21:38:04 +01:00
acp.h ASoC: use DMA addr rather than CPU pa for acp_audio_dma 2018-12-06 12:53:04 +00:00
acp3x-rt5682-max9836.c ASoc: amd: acp3x: Add missing include <linux/io.h> 2020-03-04 13:34:20 +00:00
Kconfig ASoC: amd: AMD RV RT5682 should depends on CROS_EC 2020-03-03 14:16:22 +00:00
Makefile ASoC: amd: Add machine driver for Raven based platform 2020-02-26 18:14:13 +00:00