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 <[email protected]>
To: [email protected]
Cc: Maxime Bizon <[email protected]>
Patchwork: http://patchwork.linux-mips.org/patch/899/
Signed-off-by: Ralf Baechle <[email protected]>
  • 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
Original file line number Diff line number Diff line change
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.