From 213b89f9dd985ab728f9f0f485bc6402d0e4c256 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 7 Sep 2008 09:47:37 +0000 Subject: [ar71xx] add gpio-buttons devices git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12544 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'target/linux/ar71xx/files/include/asm-mips') 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 996924a0a..32ca2965e 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 #include #include +#include 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 */ -- cgit v1.2.3