MIPS: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:40:27 +0000 (11:40 -0600)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 25 Jul 2023 08:42:01 +0000 (10:42 +0200)
commit657c45b303f87d77eb4ef49e9452f1c5d1fc363c
treea2731b0772dbcc5b87248752d9d9a3047437eb2e
parent6eaae198076080886b9e7d57f4ae06fa782f90ef
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>
13 files changed:
arch/mips/bmips/setup.c
arch/mips/cavium-octeon/flash_setup.c
arch/mips/lantiq/irq.c
arch/mips/lantiq/xway/dcdc.c
arch/mips/lantiq/xway/gptu.c
arch/mips/lantiq/xway/sysctrl.c
arch/mips/lantiq/xway/vmmc.c
arch/mips/pci/pci-lantiq.c
arch/mips/pci/pci-rt2880.c
arch/mips/pic32/pic32mzda/config.c
arch/mips/ralink/irq.c
arch/mips/ralink/of.c
arch/mips/ralink/prom.c