summaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-10-13 18:14:05 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-10-20 20:26:37 +0300
commitc27d08f786aca71a94b06437d983a5518ec90ee8 (patch)
tree13a8c3f80c4eea143d96f6720468f237b258cefe /drivers/thermal
parentcf3986f8c01d355490d0ac6024391b989a9d1e9d (diff)
downloadlinux-c27d08f786aca71a94b06437d983a5518ec90ee8.tar.xz
thermal: ACPI: Include the right header file
It is not necessary to include thermal_core.h into thermal_acpi.c, because none of the code in there depends on anything in the former, except for the linux/thermal.h, but it is better to include that one directly instead of including the entire thermal_core.h, so make that change. No functional impact. Fixes: 7a0e39748861 ("thermal: ACPI: Add ACPI trip point routines") Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/thermal_acpi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/thermal/thermal_acpi.c b/drivers/thermal/thermal_acpi.c
index 0e5698818f69..43eaf0f2ff49 100644
--- a/drivers/thermal/thermal_acpi.c
+++ b/drivers/thermal/thermal_acpi.c
@@ -8,8 +8,7 @@
*/
#include <linux/acpi.h>
#include <linux/units.h>
-
-#include "thermal_core.h"
+#include <linux/thermal.h>
/*
* Minimum temperature for full military grade is 218°K (-55°C) and