blob: 9fb317970c0128f7ad50a4abba7ac8582207fb8c [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* 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
8enum {
9 TPACPI_LED_MUTE,
10 TPACPI_LED_MICMUTE,
11 TPACPI_LED_MAX,
12};
13
14int tpacpi_led_set(int whichled, bool on);
15
16#endif