summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mv78xx0/addr-map.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mv78xx0/addr-map.c')
-rw-r--r--arch/arm/mach-mv78xx0/addr-map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mv78xx0/addr-map.c b/arch/arm/mach-mv78xx0/addr-map.c
index a9bc84180d21..3358f079bcd1 100644
--- a/arch/arm/mach-mv78xx0/addr-map.c
+++ b/arch/arm/mach-mv78xx0/addr-map.c
@@ -47,7 +47,7 @@ static void __init __iomem *win_cfg_base(const struct orion_addr_map_cfg *cfg, i
* so we don't need to take that into account here.
*/
- return (void __iomem *)((win < 8) ? WIN0_OFF(win) : WIN8_OFF(win));
+ return (win < 8) ? WIN0_OFF(win) : WIN8_OFF(win);
}
/*