Skip to content

Commit cd09da4

Browse files
robherringWim Van Sebroeck
authored andcommitted
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>
1 parent 06fdbf4 commit cd09da4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/watchdog/marvell_gti_wdt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
#include <linux/interrupt.h>
99
#include <linux/io.h>
1010
#include <linux/module.h>
11-
#include <linux/of_platform.h>
1211
#include <linux/platform_device.h>
12+
#include <linux/of.h>
1313
#include <linux/watchdog.h>
1414

1515
/*

0 commit comments

Comments
 (0)