ODROID-COMMON: net/ethernet: fix compilation error of implicit delcaration

Change-Id: I054510f2d0671563b42575c60e5441ed3351347d
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
This commit is contained in:
Dongjin Kim
2019-03-18 13:48:12 +09:00
parent f54d9f004f
commit feb0291b47

View File

@@ -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;