Commit 7a95100b89c20507cadc4dd507374eeb6191bc79

Authored by Kishon Vijay Abraham I
Committed by Lokesh Vutla
1 parent 319a9963e6

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/usb/gadget/ether.c
... ... @@ -2505,6 +2505,7 @@
2505 2505 .unbind = eth_unbind,
2506 2506  
2507 2507 .setup = eth_setup,
  2508 + .reset = eth_disconnect,
2508 2509 .disconnect = eth_disconnect,
2509 2510  
2510 2511 .suspend = eth_suspend,