diff options
author | Rob Herring <robh@kernel.org> | 2023-03-29 10:52:06 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-04-13 17:46:34 -0500 |
commit | 06d90669769b6fc0a390b2f724457994d247aaae (patch) | |
tree | 4110220822d5aa7a8f1e837e9e65d21520d04d2e | |
parent | a0418108d7e1299b3fb696de96981c3bc05a040f (diff) | |
download | linux-06d90669769b6fc0a390b2f724457994d247aaae.tar.gz linux-06d90669769b6fc0a390b2f724457994d247aaae.tar.bz2 linux-06d90669769b6fc0a390b2f724457994d247aaae.zip |
riscv: cacheinfo: 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 and
of.h) and drop including of_device.h.
Link: https://lore.kernel.org/r/20230329-dt-cpu-header-cleanups-v1-9-581e2605fe47@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r-- | arch/riscv/kernel/cacheinfo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/riscv/kernel/cacheinfo.c b/arch/riscv/kernel/cacheinfo.c index 3a13113f1b29..e3829d2de5d9 100644 --- a/arch/riscv/kernel/cacheinfo.c +++ b/arch/riscv/kernel/cacheinfo.c @@ -5,7 +5,6 @@ #include <linux/cpu.h> #include <linux/of.h> -#include <linux/of_device.h> #include <asm/cacheinfo.h> static struct riscv_cacheinfo_ops *rv_cache_ops; |