diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-09-11 08:27:24 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2012-09-21 14:04:24 -0400 |
commit | 5a2f55019391218d8c08c6f9d32591d91200de77 (patch) | |
tree | de0b8e1ae28ada95eadda74d3412698666a13c54 /arch/arm/mach-dove | |
parent | d19beac1d9358bb4a2a303f4327bf2d40ba88464 (diff) |
arm: plat-orion: use void __iomem pointers for MPP functions
The registration function for MPP now takes void __iomem pointers, so
we remove the temporary "unsigned long" casts from the mach-*/mpp.c
files.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-dove')
-rw-r--r-- | arch/arm/mach-dove/mpp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-dove/mpp.c b/arch/arm/mach-dove/mpp.c index fc04ebefbebd..7f70afc26f91 100644 --- a/arch/arm/mach-dove/mpp.c +++ b/arch/arm/mach-dove/mpp.c | |||
@@ -151,8 +151,7 @@ void __init dove_mpp_conf(unsigned int *mpp_list, | |||
151 | dove_mpp_dump_regs(); | 151 | dove_mpp_dump_regs(); |
152 | 152 | ||
153 | /* Use platform code for pins 0-23 */ | 153 | /* Use platform code for pins 0-23 */ |
154 | orion_mpp_conf(mpp_list, 0, MPP_MAX, | 154 | orion_mpp_conf(mpp_list, 0, MPP_MAX, DOVE_MPP_VIRT_BASE); |
155 | (unsigned long) DOVE_MPP_VIRT_BASE); | ||
156 | 155 | ||
157 | dove_mpp_conf_grp(mpp_grp_list); | 156 | dove_mpp_conf_grp(mpp_grp_list); |
158 | dove_mpp_cfg_au1(grp_au1_52_57); | 157 | dove_mpp_cfg_au1(grp_au1_52_57); |