diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2014-01-14 06:36:29 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-01-24 16:39:51 -0500 |
commit | ef1e3e7a19bd498862eb36ef8730d1d4700891ea (patch) | |
tree | e17d17b6507000589d12f805e1793ff854d81fbe /arch/mips/bcm47xx/bcm47xx_private.h | |
parent | 515fa75d4845c424c853a727a4f02b0e02340370 (diff) |
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.h | 3 |
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 @@ | |||
3 | 3 | ||
4 | #include <linux/kernel.h> | 4 | #include <linux/kernel.h> |
5 | 5 | ||
6 | /* buttons.c */ | ||
7 | int __init bcm47xx_buttons_register(void); | ||
8 | |||
6 | /* leds.c */ | 9 | /* leds.c */ |
7 | void __init bcm47xx_leds_register(void); | 10 | void __init bcm47xx_leds_register(void); |
8 | 11 | ||