Commit e6a9ea10 authored by Francois Romieu's avatar Francois Romieu Committed by David S. Miller
Browse files

r6040: erroneous dev->priv


Signed-off-by: default avatarFrancois Romieu <romieu@fr.zoreil.com>
parent 6c323103
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment