summaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm47xx/setup.c
diff options
context:
space:
mode:
authorRafał Miłecki2014-01-14 12:36:29 +0100
committerRalf Baechle2014-01-24 22:39:51 +0100
commitef1e3e7a19bd498862eb36ef8730d1d4700891ea (patch)
treee17d17b6507000589d12f805e1793ff854d81fbe /arch/mips/bcm47xx/setup.c
parentMIPS: BCM47XX: Prepare support for LEDs (diff)
downloadkernel-qcow2-linux-ef1e3e7a19bd498862eb36ef8730d1d4700891ea.tar.gz
kernel-qcow2-linux-ef1e3e7a19bd498862eb36ef8730d1d4700891ea.tar.xz
kernel-qcow2-linux-ef1e3e7a19bd498862eb36ef8730d1d4700891ea.zip
MIPS: BCM47XX: Prepare support for GPIO buttons
So far this adds support for one Netgear model only, but it's designed and ready to add many more device. We could hopefully import database from OpenWrt. Support for SSB is currently disabled, because SSB doesn't implement IRQ domain yet. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: John Crispin <blogic@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/6300/
Diffstat (limited to 'arch/mips/bcm47xx/setup.c')
-rw-r--r--arch/mips/bcm47xx/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/bcm47xx/setup.c b/arch/mips/bcm47xx/setup.c
index 91166967f8f7..2d6e7cccae6b 100644
--- a/arch/mips/bcm47xx/setup.c
+++ b/arch/mips/bcm47xx/setup.c
@@ -255,6 +255,7 @@ static int __init bcm47xx_register_bus_complete(void)
break;
#endif
}
+ bcm47xx_buttons_register();
bcm47xx_leds_register();
return 0;