drivers/perf: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:48:31 +0000 (11:48 -0600)
committerWill Deacon <will@kernel.org>
Thu, 27 Jul 2023 12:02:23 +0000 (13:02 +0100)
commit918dc87b746e0114eb64d6e478da7f370e266d5a
tree34fc93e8cb5dc5eebe42f6363391aeacd900fc61
parent989567fc0f3d5ba1c2a48cdb857a3965b7e1a276
drivers/perf: 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>
Link: https://lore.kernel.org/r/20230714174832.4061752-1-robh@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/amlogic/meson_ddr_pmu_core.c
drivers/perf/arm-cci.c
drivers/perf/arm_dsu_pmu.c
drivers/perf/arm_pmu_platform.c
drivers/perf/arm_spe_pmu.c
drivers/perf/fsl_imx8_ddr_perf.c
drivers/perf/fsl_imx9_ddr_perf.c
drivers/perf/marvell_cn10k_ddr_pmu.c
drivers/perf/marvell_cn10k_tad_pmu.c