summaryrefslogtreecommitdiffstats
path: root/include/linux/thinkpad_acpi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/thinkpad_acpi.h')
-rw-r--r--include/linux/thinkpad_acpi.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/thinkpad_acpi.h b/include/linux/thinkpad_acpi.h
new file mode 100644
index 00000000000..361de59a228
--- /dev/null
+++ b/include/linux/thinkpad_acpi.h
@@ -0,0 +1,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