diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2013-12-18 00:38:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-18 00:49:02 -0500 |
commit | 6f901b737691ef8b8c09de4a807f9831264ea0de (patch) | |
tree | a8ecb58e3df84b47d5d74693e49ba9a46c50ae13 | |
parent | 5df47d5e12aa9fbfe493bc9175423d3e59032170 (diff) |
net: phy: mdio_bus: fix checkpath error
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/phy/mdio_bus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c index 56178761ce93..33e1c861d9ba 100644 --- a/drivers/net/phy/mdio_bus.c +++ b/drivers/net/phy/mdio_bus.c | |||
@@ -316,8 +316,8 @@ static int mdio_bus_match(struct device *dev, struct device_driver *drv) | |||
316 | if (phydrv->match_phy_device) | 316 | if (phydrv->match_phy_device) |
317 | return phydrv->match_phy_device(phydev); | 317 | return phydrv->match_phy_device(phydev); |
318 | 318 | ||
319 | return ((phydrv->phy_id & phydrv->phy_id_mask) == | 319 | return (phydrv->phy_id & phydrv->phy_id_mask) == |
320 | (phydev->phy_id & phydrv->phy_id_mask)); | 320 | (phydev->phy_id & phydrv->phy_id_mask); |
321 | } | 321 | } |
322 | 322 | ||
323 | #ifdef CONFIG_PM | 323 | #ifdef CONFIG_PM |