summaryrefslogtreecommitdiff
path: root/include/wdt.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-19 19:15:33 +0300
committerTom Rini <trini@konsulko.com>2020-08-04 05:19:54 +0300
commitdefce58181e962f9c9979091ac4726cfcded63e7 (patch)
tree1e08b934abec1056e6243fafec554f92429622e5 /include/wdt.h
parente567ec849a9aba4cd683ea23bd57c878b59714c4 (diff)
downloadu-boot-defce58181e962f9c9979091ac4726cfcded63e7.tar.xz
wdt: Drop dm.h header file
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 <sjg@chromium.org>
Diffstat (limited to 'include/wdt.h')
-rw-r--r--include/wdt.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/wdt.h b/include/wdt.h
index d2ccfbc62e..bc242c2eb2 100644
--- a/include/wdt.h
+++ b/include/wdt.h
@@ -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