1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-15 12:25:20 +02:00
openwrt-xburst/target/linux/brcm63xx/patches-2.6.32/009-fix-double-gpio-registration.patch

17 lines
472 B
Diff
Raw Normal View 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>
---
arch/mips/bcm63xx/gpio.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
--- 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);