Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 39da7c509acff13fc8cb12ec1bb20337c988ed36 authored by Linus Torvalds on 09 April 2017, 16:49:44 UTC
Linux 4.11-rc6
Tip revision: 39da7c5
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