]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
net: phy: bcm7xxx: Make MII_BCM7XX_64CLK_MDIO naming consistent
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 6 Feb 2016 21:09:36 +0000 (13:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2016 19:57:30 +0000 (14:57 -0500)
The driver is BCM7xxx, we were missing an additional X in the constant naming,
fix that to be consistent.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm7xxx.c

index bf241a3ec5e56ceb9d9f85aed73bab90f1559781..621518572dd797d6da5ab201e4e79849249d6368 100644 (file)
@@ -24,7 +24,7 @@
 #define MII_BCM7XXX_100TX_FALSE_CAR    0x13
 #define MII_BCM7XXX_100TX_DISC         0x14
 #define MII_BCM7XXX_AUX_MODE           0x1d
-#define  MII_BCM7XX_64CLK_MDIO         BIT(12)
+#define  MII_BCM7XXX_64CLK_MDIO                BIT(12)
 #define MII_BCM7XXX_TEST               0x1f
 #define  MII_BCM7XXX_SHD_MODE_2                BIT(2)
 
@@ -247,7 +247,7 @@ static int bcm7xxx_config_init(struct phy_device *phydev)
        int ret;
 
        /* Enable 64 clock MDIO */
-       phy_write(phydev, MII_BCM7XXX_AUX_MODE, MII_BCM7XX_64CLK_MDIO);
+       phy_write(phydev, MII_BCM7XXX_AUX_MODE, MII_BCM7XXX_64CLK_MDIO);
        phy_read(phydev, MII_BCM7XXX_AUX_MODE);
 
        /* Workaround only required for 100Mbits/sec capable PHYs */