summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChandler Zhang <chazhang@nvidia.com>2012-05-04 10:32:36 +0800
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-05-23 06:05:24 -0700
commit7ebc30e369bb11a63368af7fc317f03d0a22a196 (patch)
treef2e23753e049bb6085caaa9306b27b5a15746eed /include
parentea14570cd39378a6098022e65d88410d618fa73f (diff)
misc: nct1008: add id for nct72
Add id for nct1008 compatible thermal sensor: NCT72 Bug 961970 Change-Id: I792af664f73b6d1c8317a35c66330cf571cf3aba Reviewed-on: http://git-master/r/100465 Signed-off-by: Chandler Zhang <chazhang@nvidia.com> [danifu@nvidia.com: resolved conflicits in nct1008.c] Signed-off-by: Daniel Fu <danifu@nvidia.com> Reviewed-on: http://git-master/r/103581 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nct1008.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nct1008.h b/include/linux/nct1008.h
index 0a517f1d6d89..9227f4ad82f4 100644
--- a/include/linux/nct1008.h
+++ b/include/linux/nct1008.h
@@ -31,6 +31,8 @@
struct nct1008_data;
+enum nct1008_chip { NCT1008, NCT72 };
+
struct nct1008_platform_data {
bool supported_hwrev;
bool ext_range;
@@ -56,6 +58,7 @@ struct nct1008_data {
u8 config;
s8 *limits;
u8 limits_sz;
+ enum nct1008_chip chip;
void (*alarm_fn)(bool raised);
struct regulator *nct_reg;
long current_lo_limit;