From: Simon Glass Date: Sun, 19 Jul 2020 16:15:57 +0000 (-0600) Subject: net: Drop dm.h header file in eth_phy.h X-Git-Tag: v2020.10-rc2~17^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f125e3cc1217c630dab1673c2ca181cc754b434b;p=pandora-u-boot.git 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 --- diff --git a/include/eth_phy.h b/include/eth_phy.h index 19c496551b4..be6c8815270 100644 --- a/include/eth_phy.h +++ b/include/eth_phy.h @@ -6,9 +6,10 @@ #ifndef _eth_phy_h_ #define _eth_phy_h_ -#include #include +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);