gpio: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:44:58 +0000 (11:44 -0600)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 19 Jul 2023 11:24:01 +0000 (13:24 +0200)
commite91d0f05e66afba9a3804bccf3d0a4310bb30024
tree7fb4b90cd7937bf3f6033f2287a8f536f4f391be
parent55b2395e4e92adc492c6b30ac109eb78250dcd9d
gpio: 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>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
34 files changed:
drivers/gpio/gpio-ath79.c
drivers/gpio/gpio-brcmstb.c
drivers/gpio/gpio-creg-snps.c
drivers/gpio/gpio-eic-sprd.c
drivers/gpio/gpio-ge.c
drivers/gpio/gpio-grgpio.c
drivers/gpio/gpio-hlwd.c
drivers/gpio/gpio-logicvc.c
drivers/gpio/gpio-mb86s7x.c
drivers/gpio/gpio-mpc5200.c
drivers/gpio/gpio-mpc8xxx.c
drivers/gpio/gpio-msc313.c
drivers/gpio/gpio-mxc.c
drivers/gpio/gpio-mxs.c
drivers/gpio/gpio-omap.c
drivers/gpio/gpio-palmas.c
drivers/gpio/gpio-pmic-eic-sprd.c
drivers/gpio/gpio-pxa.c
drivers/gpio/gpio-rcar.c
drivers/gpio/gpio-rockchip.c
drivers/gpio/gpio-sprd.c
drivers/gpio/gpio-stp-xway.c
drivers/gpio/gpio-syscon.c
drivers/gpio/gpio-tegra.c
drivers/gpio/gpio-tegra186.c
drivers/gpio/gpio-tps6586x.c
drivers/gpio/gpio-tps65910.c
drivers/gpio/gpio-ts4800.c
drivers/gpio/gpio-ts4900.c
drivers/gpio/gpio-uniphier.c
drivers/gpio/gpio-vf610.c
drivers/gpio/gpio-wcd934x.c
drivers/gpio/gpio-xilinx.c
drivers/gpio/gpio-xra1403.c