mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
The LEDs are currently not visible to userspace, for security reasons. They are exported through thinkpad_acpi.h for use by the snd-hda-intel driver. Thanks to Alex Hung <[email protected]> and Takashi Iwai <[email protected]> for writing parts of this patch. Signed-off-by: David Henningsson <[email protected]> Acked-by: Henrique de Moraes Holschuh <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
16 lines
281 B
C
16 lines
281 B
C
#ifndef __THINKPAD_ACPI_H__
|
|
#define __THINKPAD_ACPI_H__
|
|
|
|
/* These two functions return 0 if success, or negative error code
|
|
(e g -ENODEV if no led present) */
|
|
|
|
enum {
|
|
TPACPI_LED_MUTE,
|
|
TPACPI_LED_MICMUTE,
|
|
TPACPI_LED_MAX,
|
|
};
|
|
|
|
int tpacpi_led_set(int whichled, bool on);
|
|
|
|
#endif
|