提交 e6a9ea10 编写于 作者: F Francois Romieu 提交者: David S. Miller

r6040: erroneous dev->priv

Signed-off-by: NFrancois Romieu <romieu@fr.zoreil.com>
上级 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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册