]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ax88796: dev_dbg() wants device, not platform device
authorAl Viro <viro@ftp.linux.org.uk>
Sun, 15 Jul 2007 20:00:51 +0000 (21:00 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 15 Jul 2007 23:40:52 +0000 (16:40 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/ax88796.c

index d19874bf07062d78ac120509a9da25e2878b456f..1d882360b34da8ea6cd97488739656d6f9f13e09 100644 (file)
@@ -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 */