summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/smsc/smc91x.h
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2013-11-01 08:53:31 -0400
committerDavid S. Miller <davem@davemloft.net>2013-11-02 01:19:24 -0400
commit6389aa458ed99545aa60038f28aa6c0602ecb11a (patch)
tree6e8ccba8410e5c75ee574f2dbe8cc3822866b265 /drivers/net/ethernet/smsc/smc91x.h
parent3ee307dee23ec8aa103f76fc80aba6b6904f3add (diff)
downloadlinux-6389aa458ed99545aa60038f28aa6c0602ecb11a.tar.bz2
smc91x: replace printk with netdev_ calls
Also snipes some whitespace errors. Signed-off-by: Ben Boeckel <mathstuf@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/smsc/smc91x.h')
-rw-r--r--drivers/net/ethernet/smsc/smc91x.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/smsc/smc91x.h b/drivers/net/ethernet/smsc/smc91x.h
index 98eedb90cdc3..c9d4c872e81d 100644
--- a/drivers/net/ethernet/smsc/smc91x.h
+++ b/drivers/net/ethernet/smsc/smc91x.h
@@ -907,8 +907,8 @@ static const char * chip_ids[ 16 ] = {
({ \
int __b = SMC_CURRENT_BANK(lp); \
if (unlikely((__b & ~0xf0) != (0x3300 | bank))) { \
- printk( "%s: bank reg screwed (0x%04x)\n", \
- CARDNAME, __b ); \
+ pr_err("%s: bank reg screwed (0x%04x)\n", \
+ CARDNAME, __b); \
BUG(); \
} \
reg<<SMC_IO_SHIFT; \