aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/leds.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/leds.h')
-rw-r--r--include/linux/leds.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/leds.h b/include/linux/leds.h
index 88afceffb7cb..059abfe219dc 100644
--- a/include/linux/leds.h
+++ b/include/linux/leds.h
@@ -110,4 +110,18 @@ extern void ledtrig_ide_activity(void);
110#define ledtrig_ide_activity() do {} while(0) 110#define ledtrig_ide_activity() do {} while(0)
111#endif 111#endif
112 112
113/* For the leds-gpio driver */
114struct gpio_led {
115 const char *name;
116 char *default_trigger;
117 unsigned gpio;
118 u8 active_low;
119};
120
121struct gpio_led_platform_data {
122 int num_leds;
123 struct gpio_led *leds;
124};
125
126
113#endif /* __LINUX_LEDS_H_INCLUDED */ 127#endif /* __LINUX_LEDS_H_INCLUDED */