ptp: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:49:22 +0000 (11:49 -0600)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 18 Jul 2023 09:27:49 +0000 (11:27 +0200)
commit9ffc4de5c695df237644502a87d10165cd455501
treef1c734d1990cc9c4fec8b013ca4ea403107bdfe1
parentc62c0a17f9b7398022f9eebe547878033264f81f
ptp: 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: Richard Cochran <richardcochran@gmail.com>
Link: https://lore.kernel.org/r/20230714174922.4063153-1-robh@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/ptp/ptp_qoriq.c