Commit f67fe3c5 authored by Rashika's avatar Rashika Committed by Zhang Rui

drivers: thermal: Mark function as static in x86_pkg_temp_thermal.c

Mark function sys_set_trip_temp() as static in x86_pkg_temp_thermal.c
because it is not used outside this file.

This eliminates the following warning in x86_pkg_temp_thermal.c:
drivers/thermal/x86_pkg_temp_thermal.c:218:5: warning: no previous prototype for ‘sys_set_trip_temp’ [-Wmissing-prototypes]
Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent b688b5bf
...@@ -215,7 +215,7 @@ static int sys_get_trip_temp(struct thermal_zone_device *tzd, ...@@ -215,7 +215,7 @@ static int sys_get_trip_temp(struct thermal_zone_device *tzd,
return 0; return 0;
} }
int sys_set_trip_temp(struct thermal_zone_device *tzd, int trip, static int sys_set_trip_temp(struct thermal_zone_device *tzd, int trip,
unsigned long temp) unsigned long temp)
{ {
u32 l, h; u32 l, h;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment