ar71xx: use the gpio_keys_polled driver instead of gpio_buttons
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files / arch / mips / ar71xx / dev-leds-gpio.h
1 /*
2 * Atheros AR71xx GPIO LED device support
3 *
4 * Copyright (C) 2008-2009 Gabor Juhos <juhosg@openwrt.org>
5 * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published
9 * by the Free Software Foundation.
10 */
11
12 #ifndef _AR71XX_DEV_LEDS_GPIO_H
13 #define _AR71XX_DEV_LEDS_GPIO_H
14
15 #include <linux/leds.h>
16
17 void ar71xx_add_device_leds_gpio(int id,
18 unsigned num_leds,
19 struct gpio_led *leds) __init;
20
21 #endif /* _AR71XX_DEV_LEDS_GPIO_H */