summaryrefslogtreecommitdiffstats
path: root/cmd/w1.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-19 10:15:42 -0600
committerTom Rini <trini@konsulko.com>2020-08-03 22:19:54 -0400
commit411e9eb88c0cf2b99f3dcaa9b300c0e52ee751f3 (patch)
treec8fc19b55facdcc5e13f2e803f4a067895f504f5 /cmd/w1.c
parent055efe5690eaab99301151878deab9a382c6e65e (diff)
downloadu-boot-411e9eb88c0cf2b99f3dcaa9b300c0e52ee751f3.tar.gz
u-boot-411e9eb88c0cf2b99f3dcaa9b300c0e52ee751f3.tar.xz
u-boot-411e9eb88c0cf2b99f3dcaa9b300c0e52ee751f3.zip
w1: Drop dm.h header file
This header file should not be included in other header files. Remove it and use a forward declaration instead. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/w1.c')
-rw-r--r--cmd/w1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/w1.c b/cmd/w1.c
index 92be1f2531..459094bf80 100644
--- a/cmd/w1.c
+++ b/cmd/w1.c
@@ -6,6 +6,7 @@
*/
#include <common.h>
#include <command.h>
+#include <dm.h>
#include <w1.h>
#include <w1-eeprom.h>
#include <dm/device-internal.h>