i8k: uapi: Introduce define for new highest fan speed
authorGuenter Roeck <linux@roeck-us.net>
Sat, 21 Jun 2014 15:08:11 +0000 (08:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 23:41:36 +0000 (16:41 -0700)
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>
include/uapi/linux/i8k.h

index 1c45ba505115bac6f150bb34e0cf06dbe900e4a7..133d02f03c259a526dda318459d99ce83169929f 100644 (file)
@@ -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