From: Simon Glass Date: Sun, 19 Jul 2020 16:15:42 +0000 (-0600) Subject: w1: Drop dm.h header file X-Git-Tag: v2020.10-rc2~17^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=411e9eb88c0cf2b99f3dcaa9b300c0e52ee751f3;p=pandora-u-boot.git 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 --- diff --git a/board/atmel/common/board.c b/board/atmel/common/board.c index c41706c4005..eee5c357bdc 100644 --- a/board/atmel/common/board.c +++ b/board/atmel/common/board.c @@ -5,6 +5,7 @@ */ #include +#include #include #include #include diff --git a/cmd/w1.c b/cmd/w1.c index 92be1f2531d..459094bf809 100644 --- a/cmd/w1.c +++ b/cmd/w1.c @@ -6,6 +6,7 @@ */ #include #include +#include #include #include #include diff --git a/include/w1.h b/include/w1.h index b958b1c92c2..77f439e587f 100644 --- a/include/w1.h +++ b/include/w1.h @@ -8,7 +8,7 @@ #ifndef __W1_H #define __W1_H -#include +struct udevice; #define W1_FAMILY_DS24B33 0x23 #define W1_FAMILY_DS2431 0x2d