]> err.no Git - linux-2.6/commitdiff
r6040: erroneous dev->priv
authorFrancois Romieu <romieu@fr.zoreil.com>
Wed, 28 Nov 2007 21:55:36 +0000 (22:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:04:16 +0000 (15:04 -0800)
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
drivers/net/r6040.c

index a106add09feefecb9cd1863f73d51a3d966a8d9c..71aa4783efd946c1684c422ec34a59b3a0047a90 100644 (file)
@@ -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;