w1: amd_axi_w1: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Thu, 7 Dec 2023 16:33:18 +0000 (10:33 -0600)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 8 Dec 2023 07:35:25 +0000 (08:35 +0100)
commitefc19c44aa442197ddcbb157c6ca54a56eba8c4e
tree665ada3e2ea615b709d799731ce96af43ba88f09
parent0ca9223fe9f75dce6e5cd306c685ee687a0bbdeb
w1: amd_axi_w1: 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 was 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/20231207163318.2727816-1-robh@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/w1/masters/amd_axi_w1.c