aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/sti
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-07-27 10:56:26 +0200
committerMark Brown <broonie@kernel.org>2015-07-29 15:07:05 +0100
commitb917abb4064b38b0613e953b09213e788ad94ad0 (patch)
tree95b85f6ef89d4440fadd517ebb47b3990e906ccb /sound/soc/sti
parentASoC: sti: error handling bug in sti_uniperiph_cpu_dai_of() (diff)
downloadlinux-dev-b917abb4064b38b0613e953b09213e788ad94ad0.tar.xz
linux-dev-b917abb4064b38b0613e953b09213e788ad94ad0.zip
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>
Diffstat (limited to 'sound/soc/sti')
-rw-r--r--sound/soc/sti/uniperif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sti/uniperif.h b/sound/soc/sti/uniperif.h
index ee462f7daaff..f0fd5a9944e9 100644
--- a/sound/soc/sti/uniperif.h
+++ b/sound/soc/sti/uniperif.h
@@ -1168,7 +1168,7 @@ struct uniperif {
/* Resources */
struct resource *mem_region;
- void *base;
+ void __iomem *base;
unsigned long fifo_phys_address;
int irq;