diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-04-16 18:00:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-24 13:05:32 -0700 |
commit | 42b59eba718a145e991ae02437f38d8aa8efe207 (patch) | |
tree | 44618e85fbeee1b3aaf84d6b4148535866bc6071 /drivers/usb/host/ohci.h | |
parent | 0021a75a475b6c1e500ae4bdcc1ff19f7794aa95 (diff) | |
download | op-kernel-dev-42b59eba718a145e991ae02437f38d8aa8efe207.zip op-kernel-dev-42b59eba718a145e991ae02437f38d8aa8efe207.tar.gz |
USB: OHCI: Export the OHCI hub control and status_data functions
Platform drivers sometimes need to perform specific handling of hub
control requests and status data. Make this possible by exporting the
ohci_hub_control() and ohci_hub_status_data() functions which can then
be called from custom hub operations in the default case.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci.h')
-rw-r--r-- | drivers/usb/host/ohci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h index 9250cad..a116583 100644 --- a/drivers/usb/host/ohci.h +++ b/drivers/usb/host/ohci.h @@ -727,3 +727,6 @@ extern int ohci_setup(struct usb_hcd *hcd); extern int ohci_suspend(struct usb_hcd *hcd, bool do_wakeup); extern int ohci_resume(struct usb_hcd *hcd, bool hibernated); #endif +extern int ohci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, + u16 wIndex, char *buf, u16 wLength); +extern int ohci_hub_status_data(struct usb_hcd *hcd, char *buf); |