diff options
author | Rob Herring <robh@kernel.org> | 2023-03-29 17:52:13 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-04-14 00:46:35 +0200 |
commit | 24760e43c6a6164a33c023eed7536073bf6c68f7 (patch) | |
tree | c1ba4bc54326caf12aa6e21096f9eaf601becab6 /drivers/cpuidle/cpuidle-riscv-sbi.c | |
parent | cpufreq: sun50i: Add explicit include for cpu.h (diff) | |
download | linux-24760e43c6a6164a33c023eed7536073bf6c68f7.tar.xz linux-24760e43c6a6164a33c023eed7536073bf6c68f7.zip |
cpuidle: Adjust includes to remove of_device.h
Now that of_cpu_device_node_get() is defined in of.h, of_device.h is just
implicitly including other includes, and is no longer needed. Adjust the
include files with what was implicitly included by of_device.h (cpu.h,
cpuhotplug.h, of.h, and of_platform.h) and drop including of_device.h.
Acked-by: Anup Patel <anup@brainfault.org>
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20230329-dt-cpu-header-cleanups-v1-16-581e2605fe47@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/cpuidle/cpuidle-riscv-sbi.c')
-rw-r--r-- | drivers/cpuidle/cpuidle-riscv-sbi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpuidle/cpuidle-riscv-sbi.c b/drivers/cpuidle/cpuidle-riscv-sbi.c index be383f4b6855..ae0b838a0634 100644 --- a/drivers/cpuidle/cpuidle-riscv-sbi.c +++ b/drivers/cpuidle/cpuidle-riscv-sbi.c @@ -8,6 +8,7 @@ #define pr_fmt(fmt) "cpuidle-riscv-sbi: " fmt +#include <linux/cpuhotplug.h> #include <linux/cpuidle.h> #include <linux/cpumask.h> #include <linux/cpu_pm.h> @@ -15,7 +16,6 @@ #include <linux/kernel.h> #include <linux/module.h> #include <linux/of.h> -#include <linux/of_device.h> #include <linux/slab.h> #include <linux/platform_device.h> #include <linux/pm_domain.h> |