projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
568035b
)
thermal/core: Add missing EXPORT_SYMBOL_GPL
author
Daniel Lezcano
<daniel.lezcano@linaro.org>
Wed, 10 Aug 2022 10:07:31 +0000
(12:07 +0200)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Mon, 15 Aug 2022 18:38:19 +0000
(20:38 +0200)
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
patch
|
blob
|
history
diff --git
a/drivers/thermal/thermal_core.c
b/drivers/thermal/thermal_core.c
index 6a5d0ae5d7a4c0c12ed980dd434e676878284025..50d50cec777403ff241082c50459785add7c0993 100644
(file)
--- 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,