aboutsummaryrefslogtreecommitdiff
path: root/include/dm/ofnode.h
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2022-04-07 00:33:03 +0200
committerRamon Fried <ramon@neureality.ai>2022-04-10 08:44:13 +0300
commitffb0f6f488b9eee2822c3c691778a26e1590694c (patch)
treef46ecb79f66b021439aef2838b8359d9e63b5cf7 /include/dm/ofnode.h
parent6706d7dcbee15ac41f3ddb50b31ff96d16567883 (diff)
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 'include/dm/ofnode.h')
-rw-r--r--include/dm/ofnode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h
index 3bd3ba4925..f27aca5877 100644
--- a/include/dm/ofnode.h
+++ b/include/dm/ofnode.h
@@ -1239,7 +1239,7 @@ ofnode ofnode_get_phy_node(ofnode eth_node);
* returns the corresponding PHY interface type.
*
* @mac_node: ofnode containing the property
- * Return: one of PHY_INTERFACE_MODE_* constants, PHY_INTERFACE_MODE_NONE on
+ * Return: one of PHY_INTERFACE_MODE_* constants, PHY_INTERFACE_MODE_NA on
* error
*/
phy_interface_t ofnode_read_phy_mode(ofnode mac_node);