commit | 614a9a22f627eca367056654ac00813cd840f08c | [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 | ea8c043fe736deffb1cbf6cd34e6c58e39f53ced [diff] |
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>