From af4ccb3fd0c3fefe7ac31269ffaeb9d76577194b Mon Sep 17 00:00:00 2001 From: Varun Wadekar Date: Thu, 12 May 2011 14:21:20 +0530 Subject: misc: nct1008: update edp zones for current temperature nct1008 will now use the ALERT# functionality to decide which edp zone to switch to. Original-Change-Id: I1616a1d88e9f2f308a8b31935dbecec05ef54bca Signed-off-by: Varun Wadekar Reviewed-on: http://git-master/r/31340 Rebase-Id: R28b85258dea981a44137a663c96cfa0914031105 --- include/linux/nct1008.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/linux') diff --git a/include/linux/nct1008.h b/include/linux/nct1008.h index d65693507..8702630d8 100644 --- a/include/linux/nct1008.h +++ b/include/linux/nct1008.h @@ -25,6 +25,10 @@ #include +#include + +#define MAX_ZONES 16 + struct nct1008_platform_data { bool supported_hwrev; bool ext_range; @@ -34,6 +38,8 @@ struct nct1008_platform_data { u8 shutdown_ext_limit; u8 shutdown_local_limit; u8 throttling_ext_limit; + u8 thermal_zones[MAX_ZONES]; + u8 thermal_zones_sz; void (*alarm_fn)(bool raised); }; -- cgit v1.2.2