From: Francois Romieu Date: Wed, 28 Nov 2007 21:55:36 +0000 (+0100) Subject: r6040: erroneous dev->priv X-Git-Tag: v2.6.25-rc1~1162^2~582 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6a9ea105222ad588d680b5e67dddb02dad3667a;p=linux-2.6 r6040: erroneous dev->priv Signed-off-by: Francois Romieu --- diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c index a106add09f..71aa4783ef 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;