Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 |