summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/smsc/smc911x.h
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2013-11-01 08:53:32 -0400
committerDavid S. Miller <davem@davemloft.net>2013-11-02 01:19:24 -0400
commitdcdf8710fbfab7dfe6ceab537df771ab900ec5f0 (patch)
tree289b204a8646ea9885291430cda97de52282a3aa /drivers/net/ethernet/smsc/smc911x.h
parent6389aa458ed99545aa60038f28aa6c0602ecb11a (diff)
downloadlinux-dcdf8710fbfab7dfe6ceab537df771ab900ec5f0.tar.bz2
smc911x: replace printk with netdev_ calls
Also fixes an incorrect function comment (probably copy/paste). Signed-off-by: Ben Boeckel <mathstuf@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/smsc/smc911x.h')
-rw-r--r--drivers/net/ethernet/smsc/smc911x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/smsc/smc911x.h b/drivers/net/ethernet/smsc/smc911x.h
index d51261ba4642..9965da39281b 100644
--- a/drivers/net/ethernet/smsc/smc911x.h
+++ b/drivers/net/ethernet/smsc/smc911x.h
@@ -227,7 +227,7 @@ static inline void SMC_outsl(struct smc911x_local *lp, int reg,
#define SMC_DMA_ACK_IRQ(dev, dma) \
{ \
if (DCSR(dma) & DCSR_BUSERR) { \
- printk("%s: DMA %d bus error!\n", dev->name, dma); \
+ netdev_err(dev, "DMA %d bus error!\n", dma); \
} \
DCSR(dma) = DCSR_STARTINTR|DCSR_ENDINTR|DCSR_BUSERR; \
}