]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/netdev.h
configs: imx6q_logic: Move CONFIG_PHY_SMSC to defconfig
[people/ms/u-boot.git] / include / netdev.h
index c06b90886b3da80c0a6a21957cc3e34bf2132fce..b9bfebac67f79d550fa026a2e45d0fe9f090df62 100644 (file)
@@ -130,7 +130,12 @@ static inline int pci_eth_init(bd_t *bis)
        return num;
 }
 
+#ifdef CONFIG_DM_ETH
+struct mii_dev *fec_get_miibus(struct udevice *dev, int dev_id);
+#else
 struct mii_dev *fec_get_miibus(uint32_t base_addr, int dev_id);
+#endif
+
 #ifdef CONFIG_PHYLIB
 struct phy_device;
 int fec_probe(bd_t *bd, int dev_id, uint32_t base_addr,