summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-19 19:15:42 +0300
committerTom Rini <trini@konsulko.com>2020-08-04 05:19:54 +0300
commit411e9eb88c0cf2b99f3dcaa9b300c0e52ee751f3 (patch)
treec8fc19b55facdcc5e13f2e803f4a067895f504f5 /include
parent055efe5690eaab99301151878deab9a382c6e65e (diff)
downloadu-boot-411e9eb88c0cf2b99f3dcaa9b300c0e52ee751f3.tar.xz
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 'include')
-rw-r--r--include/w1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/w1.h b/include/w1.h
index b958b1c92c..77f439e587 100644
--- a/include/w1.h
+++ b/include/w1.h
@@ -8,7 +8,7 @@
#ifndef __W1_H
#define __W1_H
-#include <dm.h>
+struct udevice;
#define W1_FAMILY_DS24B33 0x23
#define W1_FAMILY_DS2431 0x2d