]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/thinkpad_acpi.h
net: rtnetlink: validate IFLA_MTU attribute in rtnl_create_link()
[mirror_ubuntu-bionic-kernel.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