aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/include
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-09-07 09:47:37 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-09-07 09:47:37 +0000
commitb63a7c8640cab901370a644fa4709fb519d8acc9 (patch)
treef8714cf094a5ede4e172b630bb8db74852eabfec /target/linux/ar71xx/files/include
parentdd8499cc2687d8c2df064054627c498402c64ed0 (diff)
downloadupstream-b63a7c8640cab901370a644fa4709fb519d8acc9.tar.gz
upstream-b63a7c8640cab901370a644fa4709fb519d8acc9.tar.bz2
upstream-b63a7c8640cab901370a644fa4709fb519d8acc9.zip
add gpio-buttons devices
SVN-Revision: 12544
Diffstat (limited to 'target/linux/ar71xx/files/include')
-rw-r--r--target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h b/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h
index 996924a0aa..32ca2965eb 100644
--- a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h
+++ b/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h
@@ -17,6 +17,7 @@
#include <linux/phy.h>
#include <linux/spi/spi.h>
#include <linux/leds.h>
+#include <linux/gpio_buttons.h>
struct ag71xx_platform_data {
u32 reset_bit;
@@ -54,4 +55,9 @@ extern void ar71xx_add_device_leds_gpio(int id,
unsigned num_leds,
struct gpio_led *leds) __init;
+extern void ar71xx_add_device_gpio_buttons(int id,
+ unsigned poll_interval,
+ unsigned nbuttons,
+ struct gpio_button *buttons) __init;
+
#endif /* __ASM_MACH_AR71XX_PLATFORM_H */