Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: Explicitly include correct DT includes

Remove unused 'of*.h' header inclusions from the arm64 arch code to
allow for the eventual untangling of 'of_device.h and 'of_platform.h',
which currently include each other.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230714174021.4039807-1-robh@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>

authored by

Rob Herring and committed by
Will Deacon
b9d60124 64a0b90a

-4
-2
arch/arm64/kernel/cpuidle.c
··· 9 9 #include <linux/acpi.h> 10 10 #include <linux/cpuidle.h> 11 11 #include <linux/cpu_pm.h> 12 - #include <linux/of.h> 13 - #include <linux/of_device.h> 14 12 #include <linux/psci.h> 15 13 16 14 #ifdef CONFIG_ACPI_PROCESSOR_IDLE
-2
arch/arm64/kernel/pci.c
··· 11 11 #include <linux/io.h> 12 12 #include <linux/kernel.h> 13 13 #include <linux/mm.h> 14 - #include <linux/of_pci.h> 15 - #include <linux/of_platform.h> 16 14 #include <linux/pci.h> 17 15 #include <linux/pci-acpi.h> 18 16 #include <linux/pci-ecam.h>