diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2022-08-10 12:07:31 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2022-08-15 20:38:19 +0200 |
commit | a921be53b46c393d8d594a62a44f418c97e5504b (patch) | |
tree | 4c498b33f703a64aa9bd786fe6dc46f759ccd1dc /drivers | |
parent | Linux 6.0-rc1 (diff) | |
download | linux-a921be53b46c393d8d594a62a44f418c97e5504b.tar.xz linux-a921be53b46c393d8d594a62a44f418c97e5504b.zip |
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
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/thermal/thermal_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 6a5d0ae5d7a4..50d50cec7774 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, |