Skip to content

Commit b9d6012

Browse files
robherringwilldeacon
authored andcommitted
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>
1 parent 64a0b90 commit b9d6012

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

arch/arm64/kernel/cpuidle.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
#include <linux/acpi.h>
1010
#include <linux/cpuidle.h>
1111
#include <linux/cpu_pm.h>
12-
#include <linux/of.h>
13-
#include <linux/of_device.h>
1412
#include <linux/psci.h>
1513

1614
#ifdef CONFIG_ACPI_PROCESSOR_IDLE

arch/arm64/kernel/pci.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
#include <linux/io.h>
1212
#include <linux/kernel.h>
1313
#include <linux/mm.h>
14-
#include <linux/of_pci.h>
15-
#include <linux/of_platform.h>
1614
#include <linux/pci.h>
1715
#include <linux/pci-acpi.h>
1816
#include <linux/pci-ecam.h>

0 commit comments

Comments
 (0)