-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ab8500_bmdata: Export abx500_res_to_temp tables for hwmon
This patch exports the thermistor resistance-to-temperature tables, so that the hwmon driver can access them, and also adds the corresponding table size variables. Signed-off-by: Hongbo Zhang <hongbo.zhang@linaro.org> Acked-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
- Loading branch information
Hongbo Zhang
authored and
Anton Vorontsov
committed
Apr 17, 2013
1 parent
2c89940
commit ea2be6f
Showing
2 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright (C) ST-Ericsson 2013 | ||
* Author: Hongbo Zhang <hongbo.zhang@linaro.com> | ||
* License terms: GNU General Public License v2 | ||
*/ | ||
|
||
#ifndef PWR_AB8500_H | ||
#define PWR_AB8500_H | ||
|
||
extern const struct abx500_res_to_temp ab8500_temp_tbl_a_thermistor[]; | ||
extern const int ab8500_temp_tbl_a_size; | ||
|
||
extern const struct abx500_res_to_temp ab8500_temp_tbl_b_thermistor[]; | ||
extern const int ab8500_temp_tbl_b_size; | ||
|
||
#endif /* PWR_AB8500_H */ |