diff options
author | Marek BehĂșn | 2022-04-07 00:33:02 +0200 |
---|---|---|
committer | Ramon Fried | 2022-04-10 08:44:13 +0300 |
commit | 6706d7dcbee15ac41f3ddb50b31ff96d16567883 (patch) | |
tree | 9a0b427e4e7f60972e08e1522f2a6e7c5ef9eccf /include/phy_interface.h | |
parent | 123ca114e07ecf28aa2538748d733e2b22d8b8b5 (diff) |
treewide: Rename PHY_INTERFACE_MODE_COUNT to PHY_INTERFACE_MODE_MAX
Rename constant PHY_INTERFACE_MODE_COUNT to PHY_INTERFACE_MODE_MAX 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: Vladimir Oltean <vladimir.oltean@nxp.com>
Diffstat (limited to 'include/phy_interface.h')
-rw-r--r-- | include/phy_interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/phy_interface.h b/include/phy_interface.h index f075abe9c9c..494bc87e679 100644 --- a/include/phy_interface.h +++ b/include/phy_interface.h @@ -41,7 +41,7 @@ typedef enum { PHY_INTERFACE_MODE_USXGMII, PHY_INTERFACE_MODE_NONE, /* Must be last */ - PHY_INTERFACE_MODE_COUNT, + PHY_INTERFACE_MODE_MAX, } phy_interface_t; static const char * const phy_interface_strings[] = { |