]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:40:20 +0000 (11:40 -0600)
committerWill Deacon <will@kernel.org>
Mon, 31 Jul 2023 13:45:38 +0000 (14:45 +0100)
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>
arch/arm64/kernel/cpuidle.c
arch/arm64/kernel/pci.c

index d1f68599c29fe2826d8caca15f0c85bfa703f3fd..f372295207fbdb7a0fed2fb418fdb0558a9093ce 100644 (file)
@@ -9,8 +9,6 @@
 #include <linux/acpi.h>
 #include <linux/cpuidle.h>
 #include <linux/cpu_pm.h>
-#include <linux/of.h>
-#include <linux/of_device.h>
 #include <linux/psci.h>
 
 #ifdef CONFIG_ACPI_PROCESSOR_IDLE
index 2276689b54112bdbe074a4f949f69c573e07d7a5..f872c57e99095b49b490fef05add9eb1e1a86b1c 100644 (file)
@@ -11,8 +11,6 @@
 #include <linux/io.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
-#include <linux/of_pci.h>
-#include <linux/of_platform.h>
 #include <linux/pci.h>
 #include <linux/pci-acpi.h>
 #include <linux/pci-ecam.h>