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:
parent
f181144361
commit
5df1315211
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user