diff options
author | Tom Rini <trini@konsulko.com> | 2023-03-03 12:48:23 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-03 12:48:23 -0500 |
commit | d1653548d29959a6ea6b4037a00b48a28257e6e6 (patch) | |
tree | c5e53b262c5cfe2be50066b5b9c886c23a4ec3d6 /net/mdio-uclass.c | |
parent | f3384c6ddaab99a77895443b10d2034f17ca0014 (diff) | |
parent | d99e6f78dedd473771d6dee1007a05b8574d5b5c (diff) |
Merge branch '2023-03-02-kconfig-and-CONFIG-cleanups' into next
- Partial merge of a series of mine to select some framework options
that shouldn't be prompted for (and remove some unused code related to
that), and a partial merge of a series from Simon to remove some dead
code and address various CONFIG_IS_ENABLED/IS_ENABLED issues in code.
Diffstat (limited to 'net/mdio-uclass.c')
-rw-r--r-- | net/mdio-uclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mdio-uclass.c b/net/mdio-uclass.c index d80037d0ac7..e758cc66d7e 100644 --- a/net/mdio-uclass.c +++ b/net/mdio-uclass.c @@ -175,7 +175,7 @@ static struct phy_device *dm_eth_connect_phy_handle(struct udevice *ethdev, struct phy_device *phy; ofnode phynode; - if (CONFIG_IS_ENABLED(PHY_FIXED) && + if (IS_ENABLED(CONFIG_PHY_FIXED) && ofnode_phy_is_fixed_link(dev_ofnode(ethdev), &phynode)) { phy = phy_connect(NULL, 0, ethdev, interface); goto out; |