]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: uniperf: Add missing __iomem annotation
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 27 Jul 2015 08:56:26 +0000 (10:56 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 29 Jul 2015 14:07:05 +0000 (15:07 +0100)
commitb917abb4064b38b0613e953b09213e788ad94ad0
tree95b85f6ef89d4440fadd517ebb47b3990e906ccb
parenta4642e99694a912b32952317e8f4c253ed6be4a9
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: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sti/uniperif.h