Skip to content

Commit

Permalink
r6040: erroneous dev->priv
Browse files Browse the repository at this point in the history
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
  • Loading branch information
Francois Romieu authored and David S. Miller committed Jan 28, 2008
1 parent 6c32310 commit e6a9ea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/r6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e6a9ea1

Please sign in to comment.