From: Al Viro Date: Sun, 15 Jul 2007 20:00:51 +0000 (+0100) Subject: ax88796: dev_dbg() wants device, not platform device X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2832e856fb7238dae0f385e309e66626d81ca0fa;p=linux-beck.git ax88796: dev_dbg() wants device, not platform device Signed-off-by: Al Viro Acked-by: Jeff Garzik Signed-off-by: Linus Torvalds --- 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) 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) @@ -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 */