iommu: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:46:39 +0000 (11:46 -0600)
committerJoerg Roedel <jroedel@suse.de>
Mon, 21 Aug 2023 12:17:59 +0000 (14:17 +0200)
commitd477f603f37197474437091bf66badddcf76f4c7
treebef571dda4348125f1d5cf76141e153999bcad6b
parent6b7867b5b8a6b14c487bf04a693ab424c7a8718d
iommu: 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>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20230714174640.4058404-1-robh@kernel.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/arm/arm-smmu/arm-smmu-qcom-debug.c
drivers/iommu/arm/arm-smmu/arm-smmu.c
drivers/iommu/arm/arm-smmu/qcom_iommu.c
drivers/iommu/ipmmu-vmsa.c
drivers/iommu/sprd-iommu.c
drivers/iommu/tegra-smmu.c
drivers/iommu/virtio-iommu.c