Skip to contentSkip to conversation

watchdog: omap_wdt: Switch required include for watchdog defines

PATCH In review Tom Rini 1 participant 2 messages Oct 10, 2022 – Oct 18, 2022 Watchdog device drivers

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 watchdog: omap_wdt: Switch required include for watchdog defines

All of the required values for using the omap_wdt.c driver are found in <asm/ti-common/omap_wdt.h> and this is what is indirectly pulled in via <asm/arch/hardware.h> when it exists.

---
 drivers/watchdog/omap_wdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/omap_wdt.c +1 -1
index ca2bc7cfb59e..f0e57b4f7286 100644
@@ -39,7 +39,7 @@
 #include <common.h>
 #include <log.h>
 #include <watchdog.h>
-#include <asm/arch/hardware.h>
+#include <asm/ti-common/omap_wdt.h>
 #include <asm/io.h>
 #include <asm/processor.h>
 #include <asm/arch/cpu.h>
Signature · 1 line
2.25.1
author
#1 lore raw
Quoted 5 lines · Tom Rini

All of the required values for using the omap_wdt.c driver are found in <asm/ti-common/omap_wdt.h> and this is what is indirectly pulled in via <asm/arch/hardware.h> when it exists.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom