From f4bc2f920e7986f930d9092186aec12c1f2fc669 Mon Sep 17 00:00:00 2001 From: Will McVicker Date: Wed, 10 Aug 2022 18:52:40 +0000 Subject: [PATCH] ANDROID: GKI: export thermal_cdev_update This export was removed by the upstream commit 6390383b67fa ("thermal/core: Remove unneeded EXPORT_SYMBOLS") since it's only used by the thermal frameworks. Pixel 6 is using this symbol for it's external thermal driver module and is needed for GKI testing. Bug: 242078480 Signed-off-by: Will McVicker Change-Id: I5f704055f53816c1e3fdfd776c2d253dffbdab72 --- drivers/thermal/thermal_helpers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/thermal_helpers.c b/drivers/thermal/thermal_helpers.c index 690890f054a3..797d673685a6 100644 --- a/drivers/thermal/thermal_helpers.c +++ b/drivers/thermal/thermal_helpers.c @@ -220,6 +220,7 @@ void thermal_cdev_update(struct thermal_cooling_device *cdev) } mutex_unlock(&cdev->lock); } +EXPORT_SYMBOL_GPL(thermal_cdev_update); /** * thermal_zone_get_slope - return the slope attribute of the thermal zone