https://github.com/torvalds/linux
Raw File
Tip revision: 74bf8efb5fa6e958d2d7c7917b8bb672085ec0c6 authored by Linus Torvalds on 28 December 2015, 02:17:37 UTC
Linux 4.4-rc7
Tip revision: 74bf8ef
thinkpad_acpi.h
#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
back to top