aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/gadget.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h
index afb67d997f0c..087f4b931833 100644
--- a/include/linux/usb/gadget.h
+++ b/include/linux/usb/gadget.h
@@ -459,6 +459,12 @@ struct usb_gadget_ops {
459 int (*ioctl)(struct usb_gadget *, 459 int (*ioctl)(struct usb_gadget *,
460 unsigned code, unsigned long param); 460 unsigned code, unsigned long param);
461 void (*get_config_params)(struct usb_dcd_config_params *); 461 void (*get_config_params)(struct usb_dcd_config_params *);
462 int (*udc_start)(struct usb_gadget *,
463 struct usb_gadget_driver *);
464 int (*udc_stop)(struct usb_gadget *,
465 struct usb_gadget_driver *);
466
467 /* Those two are deprecated */
462 int (*start)(struct usb_gadget_driver *, 468 int (*start)(struct usb_gadget_driver *,
463 int (*bind)(struct usb_gadget *)); 469 int (*bind)(struct usb_gadget *));
464 int (*stop)(struct usb_gadget_driver *); 470 int (*stop)(struct usb_gadget_driver *);