diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-10 16:55:14 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-10 16:55:14 -0500 |
commit | fb28ad35906af2f042c94e2f9c0f898ef9acfa37 (patch) | |
tree | ee3d535ab38d680b424a857406789f8c28bf5266 /drivers/net/ucc_geth.c | |
parent | 23779897546c1effb546ff89b89803d9d955d517 (diff) |
net: struct device - replace bus_id with dev_name(), dev_set_name()
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ucc_geth.c')
-rw-r--r-- | drivers/net/ucc_geth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index 4931af736630..0a5b817fd7ac 100644 --- a/drivers/net/ucc_geth.c +++ b/drivers/net/ucc_geth.c | |||
@@ -1615,8 +1615,8 @@ static int init_phy(struct net_device *dev) | |||
1615 | priv->oldspeed = 0; | 1615 | priv->oldspeed = 0; |
1616 | priv->oldduplex = -1; | 1616 | priv->oldduplex = -1; |
1617 | 1617 | ||
1618 | snprintf(phy_id, BUS_ID_SIZE, PHY_ID_FMT, priv->ug_info->mdio_bus, | 1618 | snprintf(phy_id, sizeof(phy_id), PHY_ID_FMT, priv->ug_info->mdio_bus, |
1619 | priv->ug_info->phy_address); | 1619 | priv->ug_info->phy_address); |
1620 | 1620 | ||
1621 | phydev = phy_connect(dev, phy_id, &adjust_link, 0, priv->phy_interface); | 1621 | phydev = phy_connect(dev, phy_id, &adjust_link, 0, priv->phy_interface); |
1622 | 1622 | ||