MIPS: BCM63xx: Fix double gpio registration.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
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);
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
MIPS: BCM63xx: Fix double gpio registration., Linux Kernel Mailing ..., (Mon Apr 12, 7:59 pm)