diff options
author | Ben Boeckel <mathstuf@gmail.com> | 2013-11-01 08:53:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-02 01:19:24 -0400 |
commit | 6389aa458ed99545aa60038f28aa6c0602ecb11a (patch) | |
tree | 6e8ccba8410e5c75ee574f2dbe8cc3822866b265 /drivers/net/ethernet/smsc/smc91x.h | |
parent | 3ee307dee23ec8aa103f76fc80aba6b6904f3add (diff) | |
download | linux-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.h | 4 |
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; \ |