ata: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:40:50 +0000 (11:40 -0600)
committerDamien Le Moal <dlemoal@kernel.org>
Wed, 2 Aug 2023 08:37:05 +0000 (17:37 +0900)
commit61e6ae711ada4895d124082bc163586766579cd7
tree4ec04f02ae6953371df9caf9885b2f6c7b69e1b4
parent5d0c230f1de8c7515b6567d9afba1f196fb4e2f4
ata: 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 as 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: Damien Le Moal <dlemoal@kernel.org>
16 files changed:
drivers/ata/ahci_ceva.c
drivers/ata/ahci_dwc.c
drivers/ata/ahci_mtk.c
drivers/ata/ahci_mvebu.c
drivers/ata/ahci_qoriq.c
drivers/ata/ahci_seattle.c
drivers/ata/ahci_sunxi.c
drivers/ata/ahci_tegra.c
drivers/ata/libahci_platform.c
drivers/ata/pata_ftide010.c
drivers/ata/pata_mpc52xx.c
drivers/ata/sata_dwc_460ex.c
drivers/ata/sata_fsl.c
drivers/ata/sata_gemini.c
drivers/ata/sata_highbank.c
drivers/ata/sata_rcar.c