diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2022-04-07 01:33:03 +0300 |
---|---|---|
committer | Ramon Fried <ramon@neureality.ai> | 2022-04-10 08:44:13 +0300 |
commit | ffb0f6f488b9eee2822c3c691778a26e1590694c (patch) | |
tree | f46ecb79f66b021439aef2838b8359d9e63b5cf7 /drivers/core | |
parent | 6706d7dcbee15ac41f3ddb50b31ff96d16567883 (diff) | |
download | u-boot-ffb0f6f488b9eee2822c3c691778a26e1590694c.tar.xz |
treewide: Rename PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA
Rename constant PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA to make
it compatible with Linux' naming.
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Diffstat (limited to 'drivers/core')
-rw-r--r-- | drivers/core/ofnode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c index d9ccb1bad2..a59832ebbf 100644 --- a/drivers/core/ofnode.c +++ b/drivers/core/ofnode.c @@ -1232,7 +1232,7 @@ phy_interface_t ofnode_read_phy_mode(ofnode node) mode = ofnode_read_string(node, "phy-connection-type"); if (!mode) - return PHY_INTERFACE_MODE_NONE; + return PHY_INTERFACE_MODE_NA; for (i = 0; i < PHY_INTERFACE_MODE_MAX; i++) if (!strcmp(mode, phy_interface_strings[i])) @@ -1240,5 +1240,5 @@ phy_interface_t ofnode_read_phy_mode(ofnode node) debug("%s: Invalid PHY interface '%s'\n", __func__, mode); - return PHY_INTERFACE_MODE_NONE; + return PHY_INTERFACE_MODE_NA; } |