diff options
author | Francois Romieu <romieu@fr.zoreil.com> | 2007-11-28 22:55:36 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-29 00:04:16 +0100 |
commit | e6a9ea105222ad588d680b5e67dddb02dad3667a (patch) | |
tree | 52eed6e175a5590ae8329478d150d737c31e9e36 /drivers/net/r6040.c | |
parent | r6040: remove virt_to_bus (diff) | |
download | linux-e6a9ea105222ad588d680b5e67dddb02dad3667a.tar.xz linux-e6a9ea105222ad588d680b5e67dddb02dad3667a.zip |
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.c | 2 |
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) static void r6040_timer(unsigned long data) { struct net_device *dev = (struct net_device *)data; - struct r6040_private *lp = netdev_priv(dev->priv); + struct r6040_private *lp = netdev_priv(dev); void __iomem *ioaddr = lp->base; u16 phy_mode; |