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>
master
Kishon Vijay Abraham I 9 years ago committed by Marek Vasut
parent f181144361
commit 5df1315211
  1. 1
      drivers/usb/gadget/ether.c

@ -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…
Cancel
Save