aboutsummaryrefslogtreecommitdiff
path: root/net/eth_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/eth_common.c')
-rw-r--r--net/eth_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/eth_common.c b/net/eth_common.c
index 82d527abba..c94a7ba6ae 100644
--- a/net/eth_common.c
+++ b/net/eth_common.c
@@ -37,7 +37,7 @@ void eth_common_init(void)
miiphy_init();
#endif
-#ifdef CONFIG_PHYLIB
+#if defined(CONFIG_NEEDS_MANUAL_RELOC) && defined(CONFIG_PHYLIB)
phy_init();
#endif
#endif