summaryrefslogtreecommitdiff
path: root/drivers/watchdog/marvell_gti_wdt.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-10-10 15:56:36 -0500
committerWim Van Sebroeck <wim@linux-watchdog.org>2023-10-29 19:45:07 +0100
commitcd09da4703775d458fd5d0916ec22694b7f55d02 (patch)
treec7f2a49d5209b63d7f26cf3e097c91e78a03d8c7 /drivers/watchdog/marvell_gti_wdt.c
parent06fdbf4ddb21b53c2e2fbf7f00df51c1b4e735c4 (diff)
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>
Diffstat (limited to 'drivers/watchdog/marvell_gti_wdt.c')
-rw-r--r--drivers/watchdog/marvell_gti_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/marvell_gti_wdt.c b/drivers/watchdog/marvell_gti_wdt.c
index e835618e6be3..fcf5d3a8622d 100644
--- a/drivers/watchdog/marvell_gti_wdt.c
+++ b/drivers/watchdog/marvell_gti_wdt.c
@@ -8,8 +8,8 @@
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/module.h>
-#include <linux/of_platform.h>
#include <linux/platform_device.h>
+#include <linux/of.h>
#include <linux/watchdog.h>
/*