aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/thinkpad_acpi.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/thinkpad_acpi.h')
-rw-r--r--drivers/misc/thinkpad_acpi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/thinkpad_acpi.h b/drivers/misc/thinkpad_acpi.h
index a9feb53c6d3c..e833ff3caf39 100644
--- a/drivers/misc/thinkpad_acpi.h
+++ b/drivers/misc/thinkpad_acpi.h
@@ -38,6 +38,7 @@
38#include <linux/fb.h> 38#include <linux/fb.h>
39#include <linux/platform_device.h> 39#include <linux/platform_device.h>
40#include <linux/hwmon.h> 40#include <linux/hwmon.h>
41#include <linux/hwmon-sysfs.h>
41#include <asm/uaccess.h> 42#include <asm/uaccess.h>
42 43
43#include <linux/dmi.h> 44#include <linux/dmi.h>
@@ -467,6 +468,7 @@ enum thermal_access_mode {
467enum { /* TPACPI_THERMAL_TPEC_* */ 468enum { /* TPACPI_THERMAL_TPEC_* */
468 TP_EC_THERMAL_TMP0 = 0x78, /* ACPI EC regs TMP 0..7 */ 469 TP_EC_THERMAL_TMP0 = 0x78, /* ACPI EC regs TMP 0..7 */
469 TP_EC_THERMAL_TMP8 = 0xC0, /* ACPI EC regs TMP 8..15 */ 470 TP_EC_THERMAL_TMP8 = 0xC0, /* ACPI EC regs TMP 8..15 */
471 TP_EC_THERMAL_TMP_NA = -128, /* ACPI EC sensor not available */
470}; 472};
471 473
472#define TPACPI_MAX_THERMAL_SENSORS 16 /* Max thermal sensors supported */ 474#define TPACPI_MAX_THERMAL_SENSORS 16 /* Max thermal sensors supported */