summaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm47xx/setup.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-01-14 12:36:29 +0100
committerRalf Baechle <ralf@linux-mips.org>2014-01-24 22:39:51 +0100
commitef1e3e7a19bd498862eb36ef8730d1d4700891ea (patch)
treee17d17b6507000589d12f805e1793ff854d81fbe /arch/mips/bcm47xx/setup.c
parent515fa75d4845c424c853a727a4f02b0e02340370 (diff)
downloadop-kernel-dev-ef1e3e7a19bd498862eb36ef8730d1d4700891ea.zip
op-kernel-dev-ef1e3e7a19bd498862eb36ef8730d1d4700891ea.tar.gz
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 9116696..2d6e7cc 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;
OpenPOWER on IntegriCloud