2 * arch/arm/mach-kirkwood/include/mach/leds-netxbig.h
4 * Platform data structure for netxbig LED driver
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without any
8 * warranty of any kind, whether express or implied.
11 #ifndef __MACH_LEDS_NETXBIG_H
12 #define __MACH_LEDS_NETXBIG_H
14 struct netxbig_gpio_ext {
22 enum netxbig_led_mode {
31 #define NETXBIG_LED_INVALID_MODE NETXBIG_LED_MODE_NUM
33 struct netxbig_led_timer {
34 unsigned long delay_on;
35 unsigned long delay_off;
36 enum netxbig_led_mode mode;
41 const char *default_trigger;
47 struct netxbig_led_platform_data {
48 struct netxbig_gpio_ext *gpio_ext;
49 struct netxbig_led_timer *timer;
51 struct netxbig_led *leds;
55 #endif /* __MACH_LEDS_NETXBIG_H */