source: GPL/trunk/include/linux/leds.h@ 703

Last change on this file since 703 was 679, checked in by David Azarewicz, 4 years ago

Merge changes from Paul's uniaud32next branch.

File size: 444 bytes
Line 
1#ifndef _LINUX_LEDS_H
2#define _LINUX_LEDS_H
3
4#include <linux/workqueue.h>
5
6/* This is obsolete/useless. We now support variable maximum brightness. */
7enum led_brightness {
8 LED_OFF = 0,
9 LED_ON = 1,
10 LED_HALF = 127,
11 LED_FULL = 255,
12};
13
14struct led_classdev {
15 const char *name;
16 enum led_brightness brightness;
17 enum led_brightness max_brightness;
18 int flags;
19 struct device *dev;
20};
21
22#endif /* _LINUX_LEDS_H */
Note: See TracBrowser for help on using the repository browser.