mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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:
parent
6706d7dcbe
commit
ffb0f6f488
61 changed files with 105 additions and 105 deletions
|
@ -1127,7 +1127,7 @@ static int ldpaa_eth_bind(struct udevice *dev)
|
|||
int phy_mode = -1;
|
||||
|
||||
phy_mode = dev_read_phy_mode(dev);
|
||||
if (phy_mode == PHY_INTERFACE_MODE_NONE) {
|
||||
if (phy_mode == PHY_INTERFACE_MODE_NA) {
|
||||
dev_err(dev, "incorrect phy mode\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue