gpu/host1x: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:45:49 +0000 (11:45 -0600)
committerThierry Reding <treding@nvidia.com>
Fri, 21 Jul 2023 07:11:36 +0000 (09:11 +0200)
commit573cbf48c636c8107266d4103d4ef24027b03c75
tree1f66a2de4c612d938943b079679ba1160e87e62d
parente4681be347931f65414a7346274e06a0e72a9187
gpu/host1x: 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: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230714174549.4056675-1-robh@kernel.org
drivers/gpu/host1x/context.c
drivers/gpu/host1x/dev.c