summaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-rdc321x/platform.c
diff options
context:
space:
mode:
authorFlorian Fainelli <florian.fainelli@telecomint.eu>2008-03-26 22:39:15 +0100
committerIngo Molnar <mingo@elte.hu>2008-03-27 16:08:45 +0100
commitb2ef749720a97053d60605a7456772a1752164cc (patch)
tree47120d353cc460d078b5f4b6560c5ab392d09622 /arch/x86/mach-rdc321x/platform.c
parentd8d4f157b8d828bc837f0eb2ee4a2dd40dbdd572 (diff)
downloadblackbird-op-linux-b2ef749720a97053d60605a7456772a1752164cc.tar.gz
blackbird-op-linux-b2ef749720a97053d60605a7456772a1752164cc.zip
rdc321x: GPIO routines bugfixes
This patch fixes the use of GPIO routines which are in the PCI configuration space of the RDC321x, therefore reading/writing to this space without spinlock protection can be problematic. We also now request and free GPIOs and support the MGB100 board, previous code was very AR525W-centric. Signed-off-by: Volker Weiss <volker@tintuc.de> Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-rdc321x/platform.c')
-rw-r--r--arch/x86/mach-rdc321x/platform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/mach-rdc321x/platform.c b/arch/x86/mach-rdc321x/platform.c
index dda6024a5862..a037041817c7 100644
--- a/arch/x86/mach-rdc321x/platform.c
+++ b/arch/x86/mach-rdc321x/platform.c
@@ -62,6 +62,8 @@ static struct platform_device *rdc321x_devs[] = {
static int __init rdc_board_setup(void)
{
+ rdc321x_gpio_setup();
+
return platform_add_devices(rdc321x_devs, ARRAY_SIZE(rdc321x_devs));
}
OpenPOWER on IntegriCloud