aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/r6040.c
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2007-11-28 16:55:36 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:04:16 -0500
commite6a9ea105222ad588d680b5e67dddb02dad3667a (patch)
tree52eed6e175a5590ae8329478d150d737c31e9e36 /drivers/net/r6040.c
parent6c3231035d7ec31b3830daebd4c742e0b7471661 (diff)
r6040: erroneous dev->priv
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Diffstat (limited to 'drivers/net/r6040.c')
-rw-r--r--drivers/net/r6040.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c
index a106add09fee..71aa4783efd9 100644
--- a/drivers/net/r6040.c
+++ b/drivers/net/r6040.c
@@ -674,7 +674,7 @@ static void r6040_up(struct net_device *dev)
674static void r6040_timer(unsigned long data) 674static void r6040_timer(unsigned long data)
675{ 675{
676 struct net_device *dev = (struct net_device *)data; 676 struct net_device *dev = (struct net_device *)data;
677 struct r6040_private *lp = netdev_priv(dev->priv); 677 struct r6040_private *lp = netdev_priv(dev);
678 void __iomem *ioaddr = lp->base; 678 void __iomem *ioaddr = lp->base;
679 u16 phy_mode; 679 u16 phy_mode;
680 680