]> Git Repo - J-u-boot.git/commitdiff
wdt: Drop dm.h header file
authorSimon Glass <[email protected]>
Sun, 19 Jul 2020 16:15:33 +0000 (10:15 -0600)
committerTom Rini <[email protected]>
Tue, 4 Aug 2020 02:19:54 +0000 (22:19 -0400)
This header file should not be included in other header files. Remove it
and use a forward declaration instead.

Also remove the other headers that are not needed, since the inline code
was removed in a recent commit:

   b4d9452c4 ("watchdog: move initr_watchdog() to wdt-uclass.c")

Signed-off-by: Simon Glass <[email protected]>
include/wdt.h

index d2ccfbc62ef7cd14d5034120a7057a382c539862..bc242c2eb26d49e0e883f19a986daec4251ea9a1 100644 (file)
@@ -6,9 +6,7 @@
 #ifndef _WDT_H_
 #define _WDT_H_
 
-#include <dm.h>
-#include <log.h>
-#include <dm/read.h>
+struct udevice;
 
 /*
  * Implement a simple watchdog uclass. Watchdog is basically a timer that
This page took 0.035377 seconds and 4 git commands to generate.