提交 b917abb4 编写于 作者: L Lars-Peter Clausen 提交者: Mark Brown

ASoC: uniperf: Add missing __iomem annotation

base referes to a iomem region, so it should have the __iomem annotation.
Fixes the following warnings from sparse:

	sound/soc/sti/sti_uniperif.c:169:19: warning: incorrect type in
		assignment (different address spaces)
	sound/soc/sti/sti_uniperif.c:169:19:    expected void *base
	sound/soc/sti/sti_uniperif.c:169:19:    got void [noderef] <asn:2>*
	sound/soc/sti/uniperif_player.c:104:18: warning: incorrect type in
		argument 1 (different address spaces)
	sound/soc/sti/uniperif_player.c:104:18:    expected void const volatile
		[noderef] <asn:2>*addr
	sound/soc/sti/uniperif_player.c:104:18:    got void *
	[...]
Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
Acked-by: NArnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 a4642e99
...@@ -1168,7 +1168,7 @@ struct uniperif { ...@@ -1168,7 +1168,7 @@ struct uniperif {
/* Resources */ /* Resources */
struct resource *mem_region; struct resource *mem_region;
void *base; void __iomem *base;
unsigned long fifo_phys_address; unsigned long fifo_phys_address;
int irq; int irq;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册