summaryrefslogtreecommitdiff
path: root/include/eth_phy.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-08-03 22:20:22 -0400
committerTom Rini <trini@konsulko.com>2020-08-03 22:20:22 -0400
commitd6faedca7670a0b4862cace2f3189998cbec87d8 (patch)
tree387ca6154bbfb29b7ff30946cac70036146c5cb6 /include/eth_phy.h
parent68941e3b2c217907a49aa66af8bb65729b913397 (diff)
parent23552ba142860205c4ddec414417cdc251f8cb79 (diff)
downloadu-boot-d6faedca7670a0b4862cace2f3189998cbec87d8.tar.gz
Merge branch '2020-08-01-misc-cleanups'WIP/03Aug2020
- Further cleanup of common.h and dm.h usage in headers
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);