summaryrefslogtreecommitdiff
path: root/arch/mips/bcm47xx/bcm47xx_private.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-01-14 15:36:29 +0400
committerRalf Baechle <ralf@linux-mips.org>2014-01-25 01:39:51 +0400
commitef1e3e7a19bd498862eb36ef8730d1d4700891ea (patch)
treee17d17b6507000589d12f805e1793ff854d81fbe /arch/mips/bcm47xx/bcm47xx_private.h
parent515fa75d4845c424c853a727a4f02b0e02340370 (diff)
downloadlinux-ef1e3e7a19bd498862eb36ef8730d1d4700891ea.tar.xz
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/bcm47xx_private.h')
-rw-r--r--arch/mips/bcm47xx/bcm47xx_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/bcm47xx/bcm47xx_private.h b/arch/mips/bcm47xx/bcm47xx_private.h
index 1a1e600b74e6..5c94acebf76a 100644
--- a/arch/mips/bcm47xx/bcm47xx_private.h
+++ b/arch/mips/bcm47xx/bcm47xx_private.h
@@ -3,6 +3,9 @@
#include <linux/kernel.h>
+/* buttons.c */
+int __init bcm47xx_buttons_register(void);
+
/* leds.c */
void __init bcm47xx_leds_register(void);