summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-19 10:15:39 -0600
committerTom Rini <trini@konsulko.com>2020-08-03 22:19:54 -0400
commit2a64ada78cba32196a4f49bd000a501fa2c96647 (patch)
tree021dcdda9ef0f27396e7c73fd01b6c9aebcd4d9b /cmd
parentc2848cc2c35ccaedb10f23c3ee2a46ffdcc0de0c (diff)
net: Drop dm.h header file from phy.h
This header file should not be included in other header files. Remove it and use other headers and C inclusions instead. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mdio.c1
-rw-r--r--cmd/mii.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/cmd/mdio.c b/cmd/mdio.c
index c48bb51237..cfa45ad12a 100644
--- a/cmd/mdio.c
+++ b/cmd/mdio.c
@@ -10,6 +10,7 @@
#include <common.h>
#include <command.h>
+#include <dm.h>
#include <miiphy.h>
#include <phy.h>
diff --git a/cmd/mii.c b/cmd/mii.c
index b52a55dc33..fe8602eb7c 100644
--- a/cmd/mii.c
+++ b/cmd/mii.c
@@ -10,6 +10,7 @@
#include <common.h>
#include <command.h>
+#include <dm.h>
#include <miiphy.h>
typedef struct _MII_field_desc_t {