commit | 4af3273232c43fbf2957b7923c15ea07952a121f | [log] [tgz] |
---|---|---|
author | Lei Wen <leiwen@marvell.com> | Wed Dec 01 23:43:43 2010 +0800 |
committer | Remy Bohmer <linux@bohmer.net> | Wed Jan 19 17:29:55 2011 +0100 |
tree | 74c575243afc739f00c23f915a881a39ba8bb84d | |
parent | 775648f07169482faa76d0ed722b3437dd2d2cd7 [diff] |
usb_ether: register usb ethernet gadget at each eth init Since the ether may not be the only one usb gadget would be used in the uboot, it is neccessary to do the register each time the eth begin to work to make usb gadget driver less confussed when we want to use two different usb gadget at the same time. Usb gadget driver could simple ignore the register operation, if it find the driver has been registered already. Signed-off-by: Lei Wen <leiwen@marvell.com>