Skip to content

Commit 97befcf

Browse files
mbizonfreeboxralfbaechle
authored andcommitted
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>
1 parent f29b7ca commit 97befcf

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎arch/mips/bcm63xx/gpio.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,5 +130,3 @@ int __init bcm63xx_gpio_init(void)
130130

131131
return gpiochip_add(&bcm63xx_gpio_chip);
132132
}
133-
134-
arch_initcall(bcm63xx_gpio_init);

0 commit comments

Comments
 (0)