commit | 411e9eb88c0cf2b99f3dcaa9b300c0e52ee751f3 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Jul 19 10:15:42 2020 -0600 |
committer | Tom Rini <trini@konsulko.com> | Mon Aug 03 22:19:54 2020 -0400 |
tree | c8fc19b55facdcc5e13f2e803f4a067895f504f5 | |
parent | 055efe5690eaab99301151878deab9a382c6e65e [diff] [blame] |
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>
diff --git a/cmd/w1.c b/cmd/w1.c index 92be1f2..459094b 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>