summaryrefslogtreecommitdiffstats
path: root/include/linux/thinkpad_acpi.h
blob: 361de59a2285cdecd6a0f3f4a89ba58fb096d772 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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
OpenPOWER on IntegriCloud