aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/usb/otg.h')
-rw-r--r--include/linux/usb/otg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/usb/otg.h b/include/linux/usb/otg.h
index 8bb60e38b8a3..8d3934a42654 100644
--- a/include/linux/usb/otg.h
+++ b/include/linux/usb/otg.h
@@ -164,6 +164,7 @@ int usb_otg_unregister(struct device *dev);
164int usb_otg_register_hcd(struct usb_hcd *hcd, unsigned int irqnum, 164int usb_otg_register_hcd(struct usb_hcd *hcd, unsigned int irqnum,
165 unsigned long irqflags, struct otg_hcd_ops *ops); 165 unsigned long irqflags, struct otg_hcd_ops *ops);
166int usb_otg_unregister_hcd(struct usb_hcd *hcd); 166int usb_otg_unregister_hcd(struct usb_hcd *hcd);
167int usb_otg_shutdown_hcd(struct usb_hcd *hcd);
167int usb_otg_register_gadget(struct usb_gadget *gadget, 168int usb_otg_register_gadget(struct usb_gadget *gadget,
168 struct otg_gadget_ops *ops); 169 struct otg_gadget_ops *ops);
169int usb_otg_unregister_gadget(struct usb_gadget *gadget); 170int usb_otg_unregister_gadget(struct usb_gadget *gadget);
@@ -198,6 +199,11 @@ static inline int usb_otg_unregister_hcd(struct usb_hcd *hcd)
198 return -ENOTSUPP; 199 return -ENOTSUPP;
199} 200}
200 201
202static inline int usb_otg_shutdown_hcd(struct usb_hcd *hcd)
203{
204 return -ENOTSUPP;
205}
206
201static inline int usb_otg_register_gadget(struct usb_gadget *gadget, 207static inline int usb_otg_register_gadget(struct usb_gadget *gadget,
202 struct otg_gadget_ops *ops) 208 struct otg_gadget_ops *ops)
203{ 209{