Skip to content

Commit

Permalink
ax88796: dev_dbg() wants device, not platform device
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
Acked-by: Jeff Garzik <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jul 15, 2007
1 parent 22bb3e9 commit 2832e85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ax88796.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ static int ax_open(struct net_device *dev)
struct ei_device *ei_local = netdev_priv(dev);
int ret;

dev_dbg(ax->dev, "%s: open\n", dev->name);
dev_dbg(&ax->dev->dev, "%s: open\n", dev->name);

ret = request_irq(dev->irq, ax_ei_interrupt, 0, dev->name, dev);
if (ret)
Expand Down Expand Up @@ -492,7 +492,7 @@ static int ax_close(struct net_device *dev)
struct ax_device *ax = to_ax_dev(dev);
struct ei_device *ei_local = netdev_priv(dev);

dev_dbg(ax->dev, "%s: close\n", dev->name);
dev_dbg(&ax->dev->dev, "%s: close\n", dev->name);

/* turn the phy off */

Expand Down

0 comments on commit 2832e85

Please sign in to comment.