From: Lars-Peter Clausen Date: Mon, 27 Jul 2015 08:56:26 +0000 (+0200) Subject: ASoC: uniperf: Add missing __iomem annotation X-Git-Tag: firefly_0821_release~176^2~1082^2~13^2~5^4~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b917abb4064b38b0613e953b09213e788ad94ad0;p=firefly-linux-kernel-4.4.55.git 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] * 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] *addr sound/soc/sti/uniperif_player.c:104:18: got void * [...] Signed-off-by: Lars-Peter Clausen Acked-by: Arnaud Pouliquen Signed-off-by: Mark Brown --- 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;