mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
2c89940786
commit
ea2be6f210
2 changed files with 30 additions and 6 deletions
16
include/linux/power/ab8500.h
Normal file
16
include/linux/power/ab8500.h
Normal file
|
@ -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 */
|
Loading…
Add table
Add a link
Reference in a new issue