]> git.sur5r.net Git - u-boot/blobdiff - include/netdev.h
net: fec_mxc: simplify fec_get_miibus
[u-boot] / include / netdev.h
index 86d28ade14b6d5c14c9013428f923d2ce41629ad..68c6d49cbfc9835d3761d38e258acb3b477bcc2d 100644 (file)
@@ -117,11 +117,7 @@ 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
+struct mii_dev *fec_get_miibus(ulong base_addr, int dev_id);
 
 #ifdef CONFIG_PHYLIB
 struct phy_device;