diff options
author | Chandler Zhang <chazhang@nvidia.com> | 2012-05-04 10:32:36 +0800 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-05-23 06:05:24 -0700 |
commit | 7ebc30e369bb11a63368af7fc317f03d0a22a196 (patch) | |
tree | f2e23753e049bb6085caaa9306b27b5a15746eed /include/linux/nct1008.h | |
parent | ea14570cd39378a6098022e65d88410d618fa73f (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/linux/nct1008.h')
-rw-r--r-- | include/linux/nct1008.h | 3 |
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; |