]> git.ipfire.org Git - thirdparty/kernel/linux.git/blob - include/linux/thinkpad_acpi.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / include / linux / thinkpad_acpi.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __THINKPAD_ACPI_H__
3 #define __THINKPAD_ACPI_H__
4
5 /* These two functions return 0 if success, or negative error code
6 (e g -ENODEV if no led present) */
7
8 enum {
9 TPACPI_LED_MUTE,
10 TPACPI_LED_MICMUTE,
11 TPACPI_LED_MAX,
12 };
13
14 int tpacpi_led_set(int whichled, bool on);
15
16 #endif