diff options
author | Jinyoung Park <jinyoungp@nvidia.com> | 2013-06-21 15:53:20 +0900 |
---|---|---|
committer | Gabby Lee <galee@nvidia.com> | 2013-06-25 23:31:44 -0700 |
commit | 59aa8e57f663512f4489c11984673bc87e9a5738 (patch) | |
tree | f49328f9c7b56d43d2b76d081f54e1e55f8b740e /include/linux | |
parent | f8664172759b7846bd046779c1ca4be672a6fee8 (diff) |
Thermal: generic_adc_thermal: Add second value read back on read channel raw
Added second value read back on read channel raw.
Bug 1287901
Change-Id: I0bde33c4cb16e1c500b0cf86b64ec3e84e9a61d7
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/241374
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/generic_adc_thermal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/generic_adc_thermal.h b/include/linux/generic_adc_thermal.h index 0ab3323227de..4c060ce942d2 100644 --- a/include/linux/generic_adc_thermal.h +++ b/include/linux/generic_adc_thermal.h @@ -29,6 +29,6 @@ struct gadc_thermal_platform_data { const char *iio_channel_name; const char *tz_name; int temp_offset; /* mC */ - int (*adc_to_temp)(struct gadc_thermal_platform_data *pdata, int val); + int (*adc_to_temp)(struct gadc_thermal_platform_data *, int *, int *); }; #endif /* GENERIC_ADC_THERMAL_H */ |