phy: add phydev_name() wrapper
[linux-2.6-block.git] / drivers / net / ethernet / samsung / sxgbe / sxgbe_mdio.c
index 43ccb4a6de15a3fe2dedc9198a3866fd89143f47..5b13b8c11bef240f6c4a4b655509da29de9634be 100644 (file)
@@ -216,7 +216,7 @@ int sxgbe_mdio_register(struct net_device *ndev)
                        }
                        netdev_info(ndev, "PHY ID %08x at %d IRQ %s (%s)%s\n",
                                    phy->phy_id, phy_addr, irq_str,
-                                   dev_name(&phy->dev), act ? " active" : "");
+                                   phydev_name(phy), act ? " active" : "");
                        phy_found = true;
                }
        }