diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2015-08-19 13:49:48 +0530 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-19 22:30:31 +0200 |
commit | 5df131521194a9ae361930089fb340d712c54eee (patch) | |
tree | bb1cb5ad315d0f41fab0b34d781530fa795377ee /drivers/usb/gadget | |
parent | f18114436137f43fff7d325b4f5d9c6b5ba9551c (diff) |
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>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/ether.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |