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