Skip to content

Commit

Permalink
MIPS: BCM63xx: Fix double gpio registration.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mbizonfreebox authored and ralfbaechle committed Apr 12, 2010
1 parent f29b7ca commit 97befcf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/mips/bcm63xx/gpio.c
Expand Up @@ -130,5 +130,3 @@ int __init bcm63xx_gpio_init(void)

return gpiochip_add(&bcm63xx_gpio_chip);
}

arch_initcall(bcm63xx_gpio_init);

0 comments on commit 97befcf

Please sign in to comment.