smsc911x: Fix build error when SMSC_TRACE() used
authorJeongtae Park <jtp.park@samsung.com>
Tue, 15 Mar 2011 21:52:48 +0000 (14:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Mar 2011 21:52:48 +0000 (14:52 -0700)
This patch fixes build error when SMSC_TRACE() used.

Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smsc911x.c

index d70bde9..1566259 100644 (file)
@@ -791,8 +791,8 @@ static int smsc911x_mii_probe(struct net_device *dev)
                return -ENODEV;
        }
 
-       SMSC_TRACE(PROBE, "PHY %d: addr %d, phy_id 0x%08X",
-                       phy_addr, phydev->addr, phydev->phy_id);
+       SMSC_TRACE(PROBE, "PHY: addr %d, phy_id 0x%08X",
+                       phydev->addr, phydev->phy_id);
 
        ret = phy_connect_direct(dev, phydev,
                        &smsc911x_phy_adjust_link, 0,