提交 2f8ec2a9 编写于 作者: E Eduardo Valentin 提交者: Greg Kroah-Hartman

staging: ti-soc-thermal: make unexported functions local

Move _ti_bandgap_write_threshold and _ti_bandgap_read_threshold to static
area, as they are local functions.
Signed-off-by: NEduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 03e859d3
......@@ -475,8 +475,8 @@ static inline int ti_bandgap_validate(struct ti_bandgap *bgp, int id)
* Validates the mCelsius range and update the requested threshold.
* Call this function only if bandgap features HAS(TALERT).
*/
int _ti_bandgap_write_threshold(struct ti_bandgap *bgp, int id, int val,
bool hot)
static int _ti_bandgap_write_threshold(struct ti_bandgap *bgp, int id, int val,
bool hot)
{
struct temp_sensor_data *ts_data;
struct temp_sensor_registers *tsr;
......@@ -529,8 +529,8 @@ int _ti_bandgap_write_threshold(struct ti_bandgap *bgp, int id, int val,
* This function can be used to read t_hot or t_cold, depending on @hot value.
* Call this function only if bandgap features HAS(TALERT).
*/
int _ti_bandgap_read_threshold(struct ti_bandgap *bgp, int id,
int *val, bool hot)
static int _ti_bandgap_read_threshold(struct ti_bandgap *bgp, int id,
int *val, bool hot)
{
struct temp_sensor_registers *tsr;
u32 temp, mask;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册