From: Kishon Vijay Abraham I Date: Wed, 19 Aug 2015 08:19:48 +0000 (+0530) Subject: usb: gadget: ether: populate _reset_ callback X-Git-Tag: v2015.10-rc3~107^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5df131521194a9ae361930089fb340d712c54eee;p=u-boot 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 Reviewed-by: Tom Rini Reviewed-by: Lukasz Majewski --- diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 850ba029ab..53f4672291 100644 --- a/drivers/usb/gadget/ether.c +++ b/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,