summaryrefslogtreecommitdiff
path: root/arch/mips/pci/pci-lantiq.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-14 20:40:27 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2023-07-25 11:42:01 +0300
commit657c45b303f87d77eb4ef49e9452f1c5d1fc363c (patch)
treea2731b0772dbcc5b87248752d9d9a3047437eb2e /arch/mips/pci/pci-lantiq.c
parent6eaae198076080886b9e7d57f4ae06fa782f90ef (diff)
downloadlinux-657c45b303f87d77eb4ef49e9452f1c5d1fc363c.tar.xz
MIPS: Explicitly include correct DT includes
The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it was merged into the regular platform bus. As part of that merge prepping Arm DT support 13 years ago, they "temporarily" include each other. They also include platform_device.h and of.h. As a result, there's a pretty much random mix of those include files used throughout the tree. In order to detangle these headers and replace the implicit includes with struct declarations, users need to explicitly include the correct includes. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/pci/pci-lantiq.c')
-rw-r--r--arch/mips/pci/pci-lantiq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/pci/pci-lantiq.c b/arch/mips/pci/pci-lantiq.c
index 79e29bf42a24..80f7293166bb 100644
--- a/arch/mips/pci/pci-lantiq.c
+++ b/arch/mips/pci/pci-lantiq.c
@@ -13,9 +13,9 @@
#include <linux/mm.h>
#include <linux/vmalloc.h>
#include <linux/clk.h>
-#include <linux/of_platform.h>
-#include <linux/of_irq.h>
+#include <linux/of.h>
#include <linux/of_pci.h>
+#include <linux/platform_device.h>
#include <asm/addrspace.h>