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

Last change on this file was 717, checked in by David Azarewicz, 3 years ago

Merge changes from next branch.

File size: 597 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
22enum led_audio {
23 LED_AUDIO_MUTE, /* master mute LED */
24 LED_AUDIO_MICMUTE, /* mic mute LED */
25 NUM_AUDIO_LEDS
26};
27#endif /* _LINUX_LEDS_H */
Note: See TracBrowser for help on using the repository browser.