clocksource: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:44:09 +0000 (11:44 -0600)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 18 Aug 2023 10:16:01 +0000 (12:16 +0200)
commit0a8b07c77ea09602a152d3604e599f95726306d0
tree8d036e61048c000f2484632e978157229385af04
parent7e5bac610d2fd4d270adfd2d70ce766df1711bf8
clocksource: 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: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230714174409.4053843-1-robh@kernel.org
drivers/clocksource/bcm2835_timer.c
drivers/clocksource/nomadik-mtu.c
drivers/clocksource/sh_cmt.c
drivers/clocksource/timer-cadence-ttc.c
drivers/clocksource/timer-gxp.c
drivers/clocksource/timer-integrator-ap.c
drivers/clocksource/timer-tegra186.c
drivers/clocksource/timer-ti-dm.c