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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user