aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/ether.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/ether.c')
-rw-r--r--drivers/usb/gadget/ether.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
index 3d2603e31808..0d9d9bbb73f0 100644
--- a/drivers/usb/gadget/ether.c
+++ b/drivers/usb/gadget/ether.c
@@ -2125,7 +2125,7 @@ eth_req_free (struct usb_ep *ep, struct usb_request *req)
2125} 2125}
2126 2126
2127 2127
2128static void 2128static void __exit
2129eth_unbind (struct usb_gadget *gadget) 2129eth_unbind (struct usb_gadget *gadget)
2130{ 2130{
2131 struct eth_dev *dev = get_gadget_data (gadget); 2131 struct eth_dev *dev = get_gadget_data (gadget);
@@ -2532,7 +2532,7 @@ static struct usb_gadget_driver eth_driver = {
2532 2532
2533 .function = (char *) driver_desc, 2533 .function = (char *) driver_desc,
2534 .bind = eth_bind, 2534 .bind = eth_bind,
2535 .unbind = eth_unbind, 2535 .unbind = __exit_p(eth_unbind),
2536 2536
2537 .setup = eth_setup, 2537 .setup = eth_setup,
2538 .disconnect = eth_disconnect, 2538 .disconnect = eth_disconnect,