mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[ar71xx] add gpio-buttons devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12544 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user