hwrng: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 28 Jul 2023 13:48:27 +0000 (07:48 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Aug 2023 09:09:26 +0000 (17:09 +0800)
commit0788257aeebee9b8413c1c29e7d2029329b1a82e
tree62076d13cde51d3b47d16e544d2bbf42d6ef4785
parent6a4b8aa0a916b39a39175584c07222434fa6c6ef
hwrng: 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>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
12 files changed:
drivers/char/hw_random/atmel-rng.c
drivers/char/hw_random/bcm2835-rng.c
drivers/char/hw_random/ingenic-trng.c
drivers/char/hw_random/iproc-rng200.c
drivers/char/hw_random/npcm-rng.c
drivers/char/hw_random/omap-rng.c
drivers/char/hw_random/omap3-rom-rng.c
drivers/char/hw_random/pasemi-rng.c
drivers/char/hw_random/pic32-rng.c
drivers/char/hw_random/stm32-rng.c
drivers/char/hw_random/xgene-rng.c
drivers/char/hw_random/xiphera-trng.c