usb: gadget: ether: populate _reset_ callback

populate _reset_ callback to the USB ethernet gadget since UDC core
expects every gadget driver to have the reset callback. This shouldn't
be needed once the ethernet gadget driver is adapted to use the
composite driver.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
This commit is contained in:
Kishon Vijay Abraham I 2015-08-19 13:49:48 +05:30 committed by Marek Vasut
parent f181144361
commit 5df1315211

View File

@ -2505,6 +2505,7 @@ static struct usb_gadget_driver eth_driver = {
.unbind = eth_unbind,
.setup = eth_setup,
.reset = eth_disconnect,
.disconnect = eth_disconnect,
.suspend = eth_suspend,