diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2019-03-20 18:47:49 +0530 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2019-05-13 20:35:37 -0700 |
commit | 582a0c4194a528d435bf0d638605c05c755d41df (patch) | |
tree | a3e05423be3941346f569eda9467f55ba4e53991 /drivers/thermal/qcom/tsens.h | |
parent | 774ccb08194754817f7bb6131dfa2a3842fe00aa (diff) |
drivers: thermal: tsens: Merge tsens-8974 into tsens-v0_1
8974 and 8916 have the same version of the TSENS IP. Merge the files to
allow for better code reuse.
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/qcom/tsens.h')
-rw-r--r-- | drivers/thermal/qcom/tsens.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal/qcom/tsens.h index 4d6a406f8dca..27b8f74829d9 100644 --- a/drivers/thermal/qcom/tsens.h +++ b/drivers/thermal/qcom/tsens.h @@ -116,8 +116,12 @@ void compute_intercept_slope(struct tsens_priv *priv, u32 *pt1, u32 *pt2, u32 mo int init_common(struct tsens_priv *priv); int get_temp_common(struct tsens_priv *priv, int i, int *temp); -/* TSENS v1 targets */ -extern const struct tsens_plat_data data_8916, data_8974, data_8960; +/* TSENS target */ +extern const struct tsens_plat_data data_8960; + +/* TSENS v0.1 targets */ +extern const struct tsens_plat_data data_8916, data_8974; + /* TSENS v2 targets */ extern const struct tsens_plat_data data_8996, data_tsens_v2; |