net: Correct dependencies for HIFEMAC_ETH
PATCH 1/1 net: Correct dependencies for HIFEMAC_ETH
The HIFEMAC_ETH functionality can only work with both DM_ETH_PHY and DM_MDIO enabled (it calls one of the functions that requires both), so express this dependency in Kconfig.
---
Cc: Jerome Forissier <[email protected]>
--- drivers/net/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/Kconfig +2 -0
@@ -983,6 +983,8 @@ config HIFEMAC_ETH depends on DM && OF_CONTROL select CLK select DM_CLK + select DM_ETH_PHY + select DM_MDIO select DM_RESET select PHYLIB help
Signature · 1 line
2.43.0
Quoted 10 lines · Tom Rini
The
HIFEMAC_ETHfunctionality can only work with bothDM_ETH_PHYandDM_MDIOenabled (it calls one of the functions that requires both), so express this dependency inKconfig.Signed-off-by Tom Rini <[email protected]>---
Cc: Jerome Forissier <[email protected]>--- drivers/net/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
Added to net-next, thanks!
--
Jerome
drivers/net/Kconfig config HIFEMAC_ETH · line 990
Quoted 13 lines
drivers/net/Kconfig +2
-0@@ -983,6 +983,8 @@ config HIFEMAC_ETH depends on DM && OF_CONTROL select CLK select DM_CLK + select DM_ETH_PHY + select DM_MDIO select DM_RESET select PHYLIB help
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.