From: Rob Herring Date: Wed, 29 Mar 2023 15:52:06 +0000 (-0500) Subject: riscv: cacheinfo: Adjust includes to remove of_device.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=06d90669769b6fc0a390b2f724457994d247aaae;p=linux.git 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 --- diff --git a/arch/riscv/kernel/cacheinfo.c b/arch/riscv/kernel/cacheinfo.c index 3a13113f1b29a..e3829d2de5d94 100644 --- a/arch/riscv/kernel/cacheinfo.c +++ b/arch/riscv/kernel/cacheinfo.c @@ -5,7 +5,6 @@ #include #include -#include #include static struct riscv_cacheinfo_ops *rv_cache_ops;