summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authoroliver@schinagl.nl <oliver@schinagl.nl>2016-11-08 17:38:58 +0100
committerJoe Hershberger <joe.hershberger@ni.com>2016-12-08 10:36:22 -0600
commitcbe40e116d12a0bc6022e69e625ffb7140e29a60 (patch)
tree4d655e7bde692228c8d4a8da076746f1b47716c0 /drivers/net
parent020f67628d7f3e8f1c3ca93e8388d6b5ee128ec2 (diff)
downloadu-boot-cbe40e116d12a0bc6022e69e625ffb7140e29a60.tar.gz
net: phy: realtek: make define more consistent
All internal defines in the realtek phy are with a small X, except MIIM_RTL8211X_CTRL1000T_MASTER. Make this more consistent Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/phy/realtek.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c
index 35b934b8f0..62b8c1eb78 100644
--- a/drivers/net/phy/realtek.c
+++ b/drivers/net/phy/realtek.c
@@ -16,7 +16,7 @@
/* RTL8211x 1000BASE-T Control Register */
#define MIIM_RTL8211x_CTRL1000T_MSCE BIT(12);
-#define MIIM_RTL8211X_CTRL1000T_MASTER BIT(11);
+#define MIIM_RTL8211x_CTRL1000T_MASTER BIT(11);
/* RTL8211x PHY Status Register */
#define MIIM_RTL8211x_PHY_STATUS 0x11
@@ -64,7 +64,7 @@ static int rtl8211x_config(struct phy_device *phydev)
/* force manual master/slave configuration */
reg |= MIIM_RTL8211x_CTRL1000T_MSCE;
/* force master mode */
- reg |= MIIM_RTL8211X_CTRL1000T_MASTER;
+ reg |= MIIM_RTL8211x_CTRL1000T_MASTER;
phy_write(phydev, MDIO_DEVAD_NONE, MII_CTRL1000, reg);
#endif
/* read interrupt status just to clear it */