diff options
Diffstat (limited to 'include/linux/usb/otg.h')
-rw-r--r-- | include/linux/usb/otg.h | 6 |
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); | |||
164 | int usb_otg_register_hcd(struct usb_hcd *hcd, unsigned int irqnum, | 164 | int 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); |
166 | int usb_otg_unregister_hcd(struct usb_hcd *hcd); | 166 | int usb_otg_unregister_hcd(struct usb_hcd *hcd); |
167 | int usb_otg_shutdown_hcd(struct usb_hcd *hcd); | ||
167 | int usb_otg_register_gadget(struct usb_gadget *gadget, | 168 | int usb_otg_register_gadget(struct usb_gadget *gadget, |
168 | struct otg_gadget_ops *ops); | 169 | struct otg_gadget_ops *ops); |
169 | int usb_otg_unregister_gadget(struct usb_gadget *gadget); | 170 | int 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 | ||
202 | static inline int usb_otg_shutdown_hcd(struct usb_hcd *hcd) | ||
203 | { | ||
204 | return -ENOTSUPP; | ||
205 | } | ||
206 | |||
201 | static inline int usb_otg_register_gadget(struct usb_gadget *gadget, | 207 | static inline int usb_otg_register_gadget(struct usb_gadget *gadget, |
202 | struct otg_gadget_ops *ops) | 208 | struct otg_gadget_ops *ops) |
203 | { | 209 | { |