https://github.com/torvalds/linux
Raw File
Tip revision: 4c834452aad01531db949414f94f817a86348d59 authored by Linus Torvalds on 29 June 2014, 21:11:36 UTC
Linux 3.16-rc3
Tip revision: 4c83445
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