diff options
Diffstat (limited to 'drivers/net/ax88796.c')
-rw-r--r-- | drivers/net/ax88796.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ax88796.c b/drivers/net/ax88796.c index d19874bf0706..1d882360b34d 100644 --- a/drivers/net/ax88796.c +++ b/drivers/net/ax88796.c | |||
@@ -459,7 +459,7 @@ static int ax_open(struct net_device *dev) | |||
459 | struct ei_device *ei_local = netdev_priv(dev); | 459 | struct ei_device *ei_local = netdev_priv(dev); |
460 | int ret; | 460 | int ret; |
461 | 461 | ||
462 | dev_dbg(ax->dev, "%s: open\n", dev->name); | 462 | dev_dbg(&ax->dev->dev, "%s: open\n", dev->name); |
463 | 463 | ||
464 | ret = request_irq(dev->irq, ax_ei_interrupt, 0, dev->name, dev); | 464 | ret = request_irq(dev->irq, ax_ei_interrupt, 0, dev->name, dev); |
465 | if (ret) | 465 | if (ret) |
@@ -492,7 +492,7 @@ static int ax_close(struct net_device *dev) | |||
492 | struct ax_device *ax = to_ax_dev(dev); | 492 | struct ax_device *ax = to_ax_dev(dev); |
493 | struct ei_device *ei_local = netdev_priv(dev); | 493 | struct ei_device *ei_local = netdev_priv(dev); |
494 | 494 | ||
495 | dev_dbg(ax->dev, "%s: close\n", dev->name); | 495 | dev_dbg(&ax->dev->dev, "%s: close\n", dev->name); |
496 | 496 | ||
497 | /* turn the phy off */ | 497 | /* turn the phy off */ |
498 | 498 | ||