Skip to content

Commit c27d08f

Browse files
committed
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: 7a0e397 ("thermal: ACPI: Add ACPI trip point routines") Signed-off-by: Rafael J. Wysocki <[email protected]> Acked-by: Daniel Lezcano <[email protected]>
1 parent cf3986f commit c27d08f

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)