summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-dove
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-09-11 14:27:24 +0200
committerJason Cooper <jason@lakedaemon.net>2012-09-21 18:04:24 +0000
commit5a2f55019391218d8c08c6f9d32591d91200de77 (patch)
treede0b8e1ae28ada95eadda74d3412698666a13c54 /arch/arm/mach-dove
parentd19beac1d9358bb4a2a303f4327bf2d40ba88464 (diff)
downloadop-kernel-dev-5a2f55019391218d8c08c6f9d32591d91200de77.zip
op-kernel-dev-5a2f55019391218d8c08c6f9d32591d91200de77.tar.gz
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-dove/mpp.c b/arch/arm/mach-dove/mpp.c
index fc04ebe..7f70afc 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,
dove_mpp_dump_regs();
/* Use platform code for pins 0-23 */
- orion_mpp_conf(mpp_list, 0, MPP_MAX,
- (unsigned long) DOVE_MPP_VIRT_BASE);
+ orion_mpp_conf(mpp_list, 0, MPP_MAX, DOVE_MPP_VIRT_BASE);
dove_mpp_conf_grp(mpp_grp_list);
dove_mpp_cfg_au1(grp_au1_52_57);
OpenPOWER on IntegriCloud