summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorMarek BehĂșn <[email protected]>2022-04-07 00:33:03 +0200
committerRamon Fried <[email protected]>2022-04-10 08:44:13 +0300
commitffb0f6f488b9eee2822c3c691778a26e1590694c (patch)
treef46ecb79f66b021439aef2838b8359d9e63b5cf7 /include/dm
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 <[email protected]> Reviewed-by: Stefan Roese <[email protected]> Reviewed-by: Ramon Fried <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/ofnode.h2
-rw-r--r--include/dm/read.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h
index 3bd3ba49253..f27aca5877a 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);
diff --git a/include/dm/read.h b/include/dm/read.h
index bfa26459674..1b54b69acf0 100644
--- a/include/dm/read.h
+++ b/include/dm/read.h
@@ -764,7 +764,7 @@ ofnode dev_get_phy_node(const struct udevice *dev);
* returns the corresponding PHY interface type.
*
* @dev: device representing the MAC
- * 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 dev_read_phy_mode(const struct udevice *dev);