From 6f57a780a6b91da04321a8dd95fdc10aeb72ebc0 Mon Sep 17 00:00:00 2001 From: Sultan Alsawaf Date: Tue, 12 Jan 2021 00:17:54 -0800 Subject: [PATCH] thermal: tsens: Fix exported function marked as static This fixes the following warning: ../drivers/thermal/tsens-mtc.c:25:12: warning: unused function 'tsens_mtc_reset_history_counter' [-Wunused-function] static int tsens_mtc_reset_history_counter(unsigned int zone) ^ Change-Id: I4dae50719d0d366ff999bc871e55300c8157ff8e --- drivers/thermal/tsens-mtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/tsens-mtc.c b/drivers/thermal/tsens-mtc.c index 590f702d870d..9381a7c7ef6f 100644 --- a/drivers/thermal/tsens-mtc.c +++ b/drivers/thermal/tsens-mtc.c @@ -22,7 +22,7 @@ struct tsens_device *tsens_controller_is_present(void) } EXPORT_SYMBOL(tsens_controller_is_present); -static int tsens_mtc_reset_history_counter(unsigned int zone) +int tsens_mtc_reset_history_counter(unsigned int zone) { unsigned int reg_cntl, is_valid; void __iomem *sensor_addr;