swh:1:snp:c3bf2749e3476071fa748f67b0ffa2fdc5fe49d9
Raw File
Tip revision: 7ce7d89f48834cefece7804d38fc5d85382edf77 authored by Linus Torvalds on 26 December 2016, 00:13:08 UTC
Linux 4.10-rc1
Tip revision: 7ce7d89
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