Skip to content

Commit b9a8162

Browse files
committed
thermal: ACPI: Include the right header file
JIRA: https://issues.redhat.com/browse/RHEL-26871 commit c27d08f Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Date: Fri Oct 13 17:14:05 2023 +0200 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: 7a0e397 ("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> Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>
1 parent 15491c3 commit b9a8162

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/thermal/thermal_acpi.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
*/
99
#include <linux/acpi.h>
1010
#include <linux/units.h>
11-
12-
#include "thermal_core.h"
11+
#include <linux/thermal.h>
1312

1413
/*
1514
* Minimum temperature for full military grade is 218°K (-55°C) and

0 commit comments

Comments
 (0)