watchdog: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Wed, 26 Jul 2023 23:33:00 +0000 (17:33 -0600)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 13 Aug 2023 12:29:49 +0000 (14:29 +0200)
commitcc85f87a77b8d6124c85c9d71d6956c0248fdf19
treed1e0eb09e07c04022048259710e5f43490408a18
parentef9e7fe2c890f7609b5a667eba282f900434e58d
watchdog: 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.

Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230726233302.3812749-1-robh@kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
27 files changed:
drivers/watchdog/armada_37xx_wdt.c
drivers/watchdog/at91rm9200_wdt.c
drivers/watchdog/cpwd.c
drivers/watchdog/ftwdt010_wdt.c
drivers/watchdog/gef_wdt.c
drivers/watchdog/imx2_wdt.c
drivers/watchdog/imx7ulp_wdt.c
drivers/watchdog/lantiq_wdt.c
drivers/watchdog/meson_wdt.c
drivers/watchdog/mpc8xxx_wdt.c
drivers/watchdog/mtk_wdt.c
drivers/watchdog/of_xilinx_wdt.c
drivers/watchdog/pic32-dmt.c
drivers/watchdog/pic32-wdt.c
drivers/watchdog/pika_wdt.c
drivers/watchdog/qcom-wdt.c
drivers/watchdog/rave-sp-wdt.c
drivers/watchdog/riowd.c
drivers/watchdog/rza_wdt.c
drivers/watchdog/rzg2l_wdt.c
drivers/watchdog/s3c2410_wdt.c
drivers/watchdog/sama5d4_wdt.c
drivers/watchdog/sbsa_gwdt.c
drivers/watchdog/starfive-wdt.c
drivers/watchdog/stm32_iwdg.c
drivers/watchdog/sunxi_wdt.c
drivers/watchdog/xilinx_wwdt.c