* [PATCH] ax88796: dev_dbg() wants device, not platform device
@ 2007-07-15 20:00 Al Viro
2007-07-15 20:16 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Al Viro @ 2007-07-15 20:00 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel, jgarzik
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
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 d19874b..1d88236 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 */
--
1.5.3.GIT
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ax88796: dev_dbg() wants device, not platform device
2007-07-15 20:00 [PATCH] ax88796: dev_dbg() wants device, not platform device Al Viro
@ 2007-07-15 20:16 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-07-15 20:16 UTC (permalink / raw)
To: Al Viro; +Cc: torvalds, linux-kernel
Al Viro wrote:
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
> ---
> drivers/net/ax88796.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
ACK
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-15 20:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-15 20:00 [PATCH] ax88796: dev_dbg() wants device, not platform device Al Viro
2007-07-15 20:16 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox