Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f57a780 authored by Sultan Alsawaf's avatar Sultan Alsawaf Committed by Hridaya Prajapati
Browse files

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
parent eebd6b67
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;