summaryrefslogtreecommitdiff
path: root/include/eth_phy.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-19 19:15:57 +0300
committerTom Rini <trini@konsulko.com>2020-08-04 05:19:54 +0300
commitf125e3cc1217c630dab1673c2ca181cc754b434b (patch)
treeb1d97b7bf15e3f6263b9990ebfcfd33fab400ebc /include/eth_phy.h
parentfb989e0c6ce019466f24fbd529890d89a21c8472 (diff)
downloadu-boot-f125e3cc1217c630dab1673c2ca181cc754b434b.tar.xz
net: Drop dm.h header file in eth_phy.h
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/eth_phy.h')
-rw-r--r--include/eth_phy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/eth_phy.h b/include/eth_phy.h
index 19c496551b..be6c881527 100644
--- a/include/eth_phy.h
+++ b/include/eth_phy.h
@@ -6,9 +6,10 @@
#ifndef _eth_phy_h_
#define _eth_phy_h_
-#include <dm.h>
#include <phy.h>
+struct udevice;
+
int eth_phy_binds_nodes(struct udevice *eth_dev);
int eth_phy_set_mdio_bus(struct udevice *eth_dev, struct mii_dev *mdio_bus);
struct mii_dev *eth_phy_get_mdio_bus(struct udevice *eth_dev);