diff mbox series

[thermal:,thermal/fixes] thermal/core: Add missing EXPORT_SYMBOL_GPL

Message ID 166058901552.401.11918907596464240553.tip-bot2@tip-bot2
State New
Headers show
Series [thermal:,thermal/fixes] thermal/core: Add missing EXPORT_SYMBOL_GPL | expand

Commit Message

thermal-bot for Julien Panis Aug. 15, 2022, 6:43 p.m. UTC
The following commit has been merged into the thermal/fixes branch of thermal:

Commit-ID:     a921be53b46c393d8d594a62a44f418c97e5504b
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//a921be53b46c393d8d594a62a44f418c97e5504b
Author:        Daniel Lezcano <daniel.lezcano@linaro.org>
AuthorDate:    Wed, 10 Aug 2022 12:07:31 +02:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Mon, 15 Aug 2022 20:38:19 +02:00

thermal/core: Add missing EXPORT_SYMBOL_GPL

The function thermal_zone_device_register_with_trips() is not exported
for modules.

Add the missing EXPORT_SYMBOL_GPL().

Fixes: fae11de507f0e ("thermal/core: Add thermal_trip in thermal_zone")
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20220810100731.749317-1-daniel.lezcano@linaro.org
---
 drivers/thermal/thermal_core.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
index 6a5d0ae..50d50ce 100644
--- a/drivers/thermal/thermal_core.c
+++ b/drivers/thermal/thermal_core.c
@@ -1329,6 +1329,7 @@  free_tz:
 	kfree(tz);
 	return ERR_PTR(result);
 }
+EXPORT_SYMBOL_GPL(thermal_zone_device_register_with_trips);
 
 struct thermal_zone_device *thermal_zone_device_register(const char *type, int ntrips, int mask,
 							 void *devdata, struct thermal_zone_device_ops *ops,