mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
Revert "ar71xx: ag71xx_phy: Fix compilation for debug messages"
This reverts commit 2655fbe8ef
.
The patch introduces syntax errors, revert it for now.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
a2a225517d
commit
9ebf596386
@ -140,8 +140,7 @@ static int ag71xx_phy_connect_multi(struct ag71xx *ag)
|
|||||||
DBG("%s: PHY found at %s, uid=%08x\n",
|
DBG("%s: PHY found at %s, uid=%08x\n",
|
||||||
dev_name(dev),
|
dev_name(dev),
|
||||||
dev_name(&ag->mii_bus->phy_map[phy_addr]->dev),
|
dev_name(&ag->mii_bus->phy_map[phy_addr]->dev),
|
||||||
&ag->mii_bus->phy_map[phy_addr]->phy_id),
|
ag->mii_bus->phy_map[phy_addr]->phy_id);
|
||||||
&ag->mii_bus->phy_map[phy_addr]->phy_id : 0);
|
|
||||||
|
|
||||||
if (phydev == NULL)
|
if (phydev == NULL)
|
||||||
phydev = ag->mii_bus->phy_map[phy_addr];
|
phydev = ag->mii_bus->phy_map[phy_addr];
|
||||||
@ -152,8 +151,7 @@ static int ag71xx_phy_connect_multi(struct ag71xx *ag)
|
|||||||
DBG("%s: PHY found at %s, uid=%08x\n",
|
DBG("%s: PHY found at %s, uid=%08x\n",
|
||||||
dev_name(dev),
|
dev_name(dev),
|
||||||
dev_name(&ag->mii_bus->mdio_map[phy_addr]->dev),
|
dev_name(&ag->mii_bus->mdio_map[phy_addr]->dev),
|
||||||
mdiobus_get_phy(ag->mii_bus, phy_addr) ?
|
ag->mii_bus->mdio_map[phy_addr]->phy_id);
|
||||||
mdiobus_get_phy(ag->mii_bus, phy_addr)->phy_id : 0);
|
|
||||||
|
|
||||||
if (phydev == NULL)
|
if (phydev == NULL)
|
||||||
phydev = mdiobus_get_phy(ag->mii_bus, phy_addr);
|
phydev = mdiobus_get_phy(ag->mii_bus, phy_addr);
|
||||||
|
Loading…
Reference in New Issue
Block a user