MIPS: BCM63xx: Fix double gpio registration.

Previous thread: MIPS: BCM63xx: Initialize gpio_out_low & out_high to current value at boot. by Linux Kernel Mailing List on Monday, April 12, 2010 - 7:59 pm. (1 message)

Next thread: MIPS: Sibyte: Apply M3 workaround only on affected chip types and versions. by Linux Kernel Mailing List on Monday, April 12, 2010 - 7:59 pm. (1 message)
From: Linux Kernel Mailing List
Date: Monday, April 12, 2010 - 7:59 pm

Gitweb:     http://git.kernel.org/linus/97befcf4f0f42b1644b4b164ddc363685546edcd
Commit:     97befcf4f0f42b1644b4b164ddc363685546edcd
Parent:     f29b7cac19ef5aa093fc9403d10735fa72cabf99
Author:     Maxime Bizon <mbizon@freebox.fr>
AuthorDate: Sat Jan 30 18:34:54 2010 +0100
Committer:  Ralf Baechle <ralf@linux-mips.org>
CommitDate: Mon Apr 12 17:26:17 2010 +0100

    MIPS: BCM63xx: Fix double gpio registration.
    
    bcm63xx_gpio_init is already called from prom_init to allow board to use
    them early, so we can remove the unneeded arch_initcall.
    
    Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
    To: linux-mips@linux-mips.org
    Cc: Maxime Bizon <mbizon@freebox.fr>
    Patchwork: http://patchwork.linux-mips.org/patch/899/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
 arch/mips/bcm63xx/gpio.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/mips/bcm63xx/gpio.c b/arch/mips/bcm63xx/gpio.c
index 87ca390..3725345 100644
--- a/arch/mips/bcm63xx/gpio.c
+++ b/arch/mips/bcm63xx/gpio.c
@@ -130,5 +130,3 @@ int __init bcm63xx_gpio_init(void)
 
 	return gpiochip_add(&bcm63xx_gpio_chip);
 }
-
-arch_initcall(bcm63xx_gpio_init);
--

Previous thread: MIPS: BCM63xx: Initialize gpio_out_low & out_high to current value at boot. by Linux Kernel Mailing List on Monday, April 12, 2010 - 7:59 pm. (1 message)

Next thread: MIPS: Sibyte: Apply M3 workaround only on affected chip types and versions. by Linux Kernel Mailing List on Monday, April 12, 2010 - 7:59 pm. (1 message)