diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c b/drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c index 7d19029e2564..1ee7572990c7 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c @@ -33,6 +33,10 @@ #include "stmmac_pcs.h" #include "dwmac1000.h" +#if defined(CONFIG_ARCH_MESON64_ODROID_COMMON) +extern void odroid_get_ether_addr(unsigned char *addr); +#endif + static void dwmac1000_core_init(struct mac_device_info *hw, int mtu) { void __iomem *ioaddr = hw->pcsr;