From 18d588da7422ea9f35d5c71b34467b60dacdaa20 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 26 Sep 2014 08:34:50 +0200 Subject: USB: gadget: put poller into core Instead of letting each driver implement usb_gadget_poll directly implement this function in the core which then calls into the drivers. Signed-off-by: Sascha Hauer --- include/usb/gadget.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/usb/gadget.h') diff --git a/include/usb/gadget.h b/include/usb/gadget.h index 7106f9d788..f663e98abf 100644 --- a/include/usb/gadget.h +++ b/include/usb/gadget.h @@ -483,6 +483,7 @@ struct usb_gadget_ops { struct usb_gadget_driver *); int (*udc_stop)(struct usb_gadget *, struct usb_gadget_driver *); + void (*udc_poll)(struct usb_gadget *); }; /** -- cgit v1.2.3