diff options
author | Erik Benada <erikbenada@yahoo.ca> | 2009-05-28 20:08:55 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@cam.org> | 2009-06-08 13:04:57 -0400 |
commit | a88656553d18c324554855fccc730c9644048111 (patch) | |
tree | 6a77d6b11e3f0cf017f6dee21a9934c6c6378704 /arch/arm/mach-kirkwood | |
parent | f14081e109e7074be3052f5410641161b6479abb (diff) |
[ARM] orion: convert gpio to use gpiolib
Signed-off-by: Erik Benada <erikbenada@yahoo.ca>
[ nico: fix locking, additional cleanups ]
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/mach-kirkwood')
-rw-r--r-- | arch/arm/mach-kirkwood/mpp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/mpp.c b/arch/arm/mach-kirkwood/mpp.c index 63c44934391a..a5900f64e38c 100644 --- a/arch/arm/mach-kirkwood/mpp.c +++ b/arch/arm/mach-kirkwood/mpp.c | |||
@@ -48,6 +48,9 @@ void __init kirkwood_mpp_conf(unsigned int *mpp_list) | |||
48 | if (!variant_mask) | 48 | if (!variant_mask) |
49 | return; | 49 | return; |
50 | 50 | ||
51 | /* Initialize gpiolib. */ | ||
52 | orion_gpio_init(); | ||
53 | |||
51 | printk(KERN_DEBUG "initial MPP regs:"); | 54 | printk(KERN_DEBUG "initial MPP regs:"); |
52 | for (i = 0; i < MPP_NR_REGS; i++) { | 55 | for (i = 0; i < MPP_NR_REGS; i++) { |
53 | mpp_ctrl[i] = readl(MPP_CTRL(i)); | 56 | mpp_ctrl[i] = readl(MPP_CTRL(i)); |