From 47862b56354daee62ff67b74d2894e91dd8d5cf6 Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Tue, 8 May 2018 08:23:24 +0800 Subject: [PATCH] ANDROID: GKI: add base.h include to match MODULE_VERSIONS Partial cherry picked from commit 6c1ddabbd1d51b8f1704c682fa0c7a8695cbad12 ("thermal: Create softlink by name for thermal_zone and cooling device") Bug: 139859938 Bug: 118439547 Test: tz and cdev softlink can be created at sys/devices/virtual/thermal and sys/class/thermal. Signed-off-by: TeYuan Wang Signed-off-by: davidchao (cherry picked from commit 6c1ddabbd1d51b8f1704c682fa0c7a8695cbad12) Signed-off-by: Mark Salyzyn Bug: 153738240 Change-Id: Ic2d265dcec4caba228b4e86dc1163c13952d8d3b --- drivers/thermal/thermal_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 6d940cb8cebd..59bdb62b282f 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -22,12 +22,14 @@ #include #include #include +#include #define CREATE_TRACE_POINTS #include #include "thermal_core.h" #include "thermal_hwmon.h" +#include "../base/base.h" MODULE_AUTHOR("Zhang Rui"); MODULE_DESCRIPTION("Generic thermal management sysfs support");