]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - net/eth.c
ubifs: fix checkpatch warning
[karo-tx-uboot.git] / net / eth.c
index c96e767e8e22b8beef592deaee91cca983ef64e6..32bd10c8290a6e2af662b566d8d64405a2c5efe1 100644 (file)
--- a/net/eth.c
+++ b/net/eth.c
@@ -279,7 +279,7 @@ int eth_initialize(bd_t *bis)
        eth_current = NULL;
 
        bootstage_mark(BOOTSTAGE_ID_NET_ETH_START);
-#if defined(CONFIG_MII) || defined(CONFIG_CMD_MII)
+#if defined(CONFIG_MII) || defined(CONFIG_CMD_MII) || defined(CONFIG_PHYLIB)
        miiphy_init();
 #endif