]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/leds.h
leds: Add generic GPIO LED driver
[linux-2.6-omap-h63xx.git] / include / linux / leds.h
index 88afceffb7cb45df03ecbcd1045af2117f429fb1..059abfe219dc1dacbb40e463a022e75045531507 100644 (file)
@@ -110,4 +110,18 @@ extern void ledtrig_ide_activity(void);
 #define ledtrig_ide_activity() do {} while(0)
 #endif
 
+/* For the leds-gpio driver */
+struct gpio_led {
+       const char *name;
+       char *default_trigger;
+       unsigned        gpio;
+       u8              active_low;
+};
+
+struct gpio_led_platform_data {
+       int             num_leds;
+       struct gpio_led *leds;
+};
+
+
 #endif         /* __LINUX_LEDS_H_INCLUDED */