diff options
Diffstat (limited to 'include/netdev.h')
-rw-r--r-- | include/netdev.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/netdev.h b/include/netdev.h index 86d28ade14..68c6d49cbf 100644 --- a/include/netdev.h +++ b/include/netdev.h @@ -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; |