aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/bmips
diff options
context:
space:
mode:
authorGravatar Rob Herring <robh@kernel.org> 2023-07-14 11:40:27 -0600
committerGravatar Thomas Bogendoerfer <tsbogend@alpha.franken.de> 2023-07-25 10:42:01 +0200
commit657c45b303f87d77eb4ef49e9452f1c5d1fc363c (patch)
treea2731b0772dbcc5b87248752d9d9a3047437eb2e /arch/mips/bmips
parentLinux 6.5-rc3 (diff)
downloadlinux-657c45b303f87d77eb4ef49e9452f1c5d1fc363c.tar.gz
linux-657c45b303f87d77eb4ef49e9452f1c5d1fc363c.tar.bz2
linux-657c45b303f87d77eb4ef49e9452f1c5d1fc363c.zip
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/bmips')
-rw-r--r--arch/mips/bmips/setup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/bmips/setup.c b/arch/mips/bmips/setup.c
index 053805cb741c..ec180ab92eaa 100644
--- a/arch/mips/bmips/setup.c
+++ b/arch/mips/bmips/setup.c
@@ -16,7 +16,6 @@
#include <linux/of.h>
#include <linux/of_clk.h>
#include <linux/of_fdt.h>
-#include <linux/of_platform.h>
#include <linux/libfdt.h>
#include <linux/smp.h>
#include <asm/addrspace.h>