mirror of https://gitee.com/openkylin/linux.git
r6040: erroneous dev->priv
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
This commit is contained in:
parent
6c3231035d
commit
e6a9ea1052
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue