summaryrefslogtreecommitdiff
path: root/include/linux/thinkpad_acpi.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2013-11-14 11:28:30 +0400
committerIngo Molnar <mingo@kernel.org>2013-11-14 11:28:30 +0400
commit555a098af6086256bc64d3806519f37ccae936e0 (patch)
tree4f13126483fc1202d23f1ba55045fac41d19118e /include/linux/thinkpad_acpi.h
parentd969135aae1434547f41853f0e8eaa622e8b8816 (diff)
parentf0d55cc1a65852e6647d4f5d707c1c9b5471ce3c (diff)
downloadlinux-555a098af6086256bc64d3806519f37ccae936e0.tar.xz
Merge branch 'linus' into perf/urgent
Merge dependencies to apply a fix. Signed-off-by: Ingo Molnar <mingo@kernel.org>
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 000000000000..361de59a2285
--- /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