watchdog: marvell_gti: Replace of_platform.h with explicit includes
authorRob Herring <robh@kernel.org>
Tue, 10 Oct 2023 20:56:36 +0000 (15:56 -0500)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 29 Oct 2023 18:45:07 +0000 (19:45 +0100)
commitcd09da4703775d458fd5d0916ec22694b7f55d02
treec7f2a49d5209b63d7f26cf3e097c91e78a03d8c7
parent06fdbf4ddb21b53c2e2fbf7f00df51c1b4e735c4
watchdog: marvell_gti: Replace of_platform.h with explicit 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 and pull in various other headers. In
preparation to fix this, adjust the includes for what is actually needed.

of_platform.h isn't needed, but of.h was implicitly included by it (via
of_device.h).

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20231010205636.1584480-1-robh@kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/marvell_gti_wdt.c