Skip to content

Commit a921be5

Browse files
committed
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: fae11de ("thermal/core: Add thermal_trip in thermal_zone") Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 568035b commit a921be5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/thermal/thermal_core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,6 +1329,7 @@ thermal_zone_device_register_with_trips(const char *type, struct thermal_trip *t
13291329
kfree(tz);
13301330
return ERR_PTR(result);
13311331
}
1332+
EXPORT_SYMBOL_GPL(thermal_zone_device_register_with_trips);
13321333

13331334
struct thermal_zone_device *thermal_zone_device_register(const char *type, int ntrips, int mask,
13341335
void *devdata, struct thermal_zone_device_ops *ops,

0 commit comments

Comments
 (0)