summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-03-18 08:38:27 -0400
committerTom Rini <[email protected]>2022-03-25 12:01:15 +0000
commitcc386f161c3bd63c8370444df49d9fc36b60e403 (patch)
tree4b21f1912213c7ebdd81e9328a38d3425fff6717 /drivers
parent16199a8b961fab60587011e9da5a592b94d3eaf4 (diff)
Convert CONFIG_MII_INIT to Kconfig
This converts the following to Kconfig: CONFIG_MII_INIT Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/mcfmii.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/mcfmii.c b/drivers/net/mcfmii.c
index ca06b35316d..e2c8f41876e 100644
--- a/drivers/net/mcfmii.c
+++ b/drivers/net/mcfmii.c
@@ -200,9 +200,7 @@ int mii_discover_phy(fec_info_t *info)
}
#endif /* CONFIG_SYS_DISCOVER_PHY */
-void mii_init(void) __attribute__((weak,alias("__mii_init")));
-
-void __mii_init(void)
+__weak void mii_init(void)
{
#ifdef CONFIG_DM_ETH
struct udevice *dev;