]> git.sur5r.net Git - u-boot/commit
USB-CDC: Do not rename netdev after its registration
authorVitaly Kuzmichev <vkuzmichev@mvista.com>
Tue, 28 Dec 2010 13:59:31 +0000 (16:59 +0300)
committerRemy Bohmer <linux@bohmer.net>
Wed, 19 Jan 2011 16:29:55 +0000 (17:29 +0100)
commit8f7aa831c36feb08c5af790d88083afa6f945de2
tree4e1bcfa1992b55c59490ba6d0983495bd12de433
parent988ee3e3f024f4565f98584b9026df73c459c268
USB-CDC: Do not rename netdev after its registration

Calling eth_bind at usb_eth_init time causes renaming of the network
device from 'usb_ether' to 'usb0'. Fixing this to keep the first name.

Signed-off-by: Vitaly Kuzmichev <vkuzmichev@mvista.com>
drivers/usb/gadget/ether.c