diff options
author | Rob Herring <robh@kernel.org> | 2023-03-29 17:52:07 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-04-14 00:46:34 +0200 |
commit | b9581552b0b94586fa7296613a5d8a4a63e801be (patch) | |
tree | faa680fb0d51d027d42b9fc8c766cbacffc448bf /drivers/base | |
parent | riscv: cacheinfo: Adjust includes to remove of_device.h (diff) | |
download | linux-b9581552b0b94586fa7296613a5d8a4a63e801be.tar.xz linux-b9581552b0b94586fa7296613a5d8a4a63e801be.zip |
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. Update the
includes to use of.h instead of of_device.h.
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20230329-dt-cpu-header-cleanups-v1-10-581e2605fe47@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/cacheinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/cacheinfo.c b/drivers/base/cacheinfo.c index f6573c335f4c..a5f7a1063411 100644 --- a/drivers/base/cacheinfo.c +++ b/drivers/base/cacheinfo.c @@ -14,7 +14,7 @@ #include <linux/cpu.h> #include <linux/device.h> #include <linux/init.h> -#include <linux/of_device.h> +#include <linux/of.h> #include <linux/sched.h> #include <linux/slab.h> #include <linux/smp.h> |