]> bbs.cooldavid.org Git - net-next-2.6.git/commit
tmspci: fix tr%d in printk
authorMeelis Roos <mroos@linux.ee>
Mon, 20 Sep 2010 21:19:03 +0000 (21:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Sep 2010 01:04:44 +0000 (18:04 -0700)
commitd9fd1b2857154f1ac32ca041641ba947525ff7fa
tree4b33a0eaffc598683216d36c5ac401696c4752db
parent73da16c28ed0724755afdb95c7dd6b166381be10
tmspci: fix tr%d in printk

tmspci driver uses dev->name before register_netdev() and so prints tr%d
in initialization messages. Fix it by using dev_info.

Found and tested on real hardware.

Signed-off-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tokenring/tmspci.c