usbnet: Set parent device early for netdev_printk()
authorBen Hutchings <ben@decadent.org.uk>
Sat, 3 Jul 2010 04:49:02 +0000 (21:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Jul 2010 04:49:02 +0000 (21:49 -0700)
netdev_printk() follows the net_device's parent device pointer, so
we must set that earlier than we previously did.

Reported-by: Luís Picciochi Oliveira <pitxyoki@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found