summaryrefslogtreecommitdiff
path: root/include/uapi/linux/i8k.h
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-06-21 19:08:11 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-10 03:41:36 +0400
commitd5d222605503dd39513b3baeb9475ddf316511d7 (patch)
treeed760291115e53979c1e5fbd9de9a15aad5bc1c9 /include/uapi/linux/i8k.h
parent81474fc2fae9397ade2577398e5d03ab2b24af95 (diff)
downloadlinux-d5d222605503dd39513b3baeb9475ddf316511d7.tar.xz
i8k: uapi: Introduce define for new highest fan speed
Some Dell laptops support fan speeds of {0, 1, 2, 3} instead of {0, 1, 2}. Add a define for it. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Cc: Andreas Mohr <andi@lisas.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux/i8k.h')
-rw-r--r--include/uapi/linux/i8k.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/i8k.h b/include/uapi/linux/i8k.h
index 1c45ba505115..133d02f03c25 100644
--- a/include/uapi/linux/i8k.h
+++ b/include/uapi/linux/i8k.h
@@ -34,7 +34,8 @@
#define I8K_FAN_OFF 0
#define I8K_FAN_LOW 1
#define I8K_FAN_HIGH 2
-#define I8K_FAN_MAX I8K_FAN_HIGH
+#define I8K_FAN_TURBO 3
+#define I8K_FAN_MAX I8K_FAN_TURBO
#define I8K_VOL_UP 1
#define I8K_VOL_DOWN 2