summaryrefslogtreecommitdiff
path: root/include/linux/usb.h
diff options
context:
space:
mode:
authorHemant Kumar <hemantk@codeaurora.org>2017-08-17 17:01:00 -0700
committerAjay Agarwal <ajaya@codeaurora.org>2017-11-24 14:50:23 +0530
commitc611d78437adeb9299d8be3f7be78b9c153152e5 (patch)
treeef718a4eacaf809228f496673f72878c31622b23 /include/linux/usb.h
parent03a86f5cb1adaa2e30a70eefd7bc1ab9509eea46 (diff)
usb: core: Add helper function to return controller id
Function provides controller id used by a remote entity to identify which usb controller to program to initiate data transfer. Change-Id: Ied396f34496104c139a7910ee86844c124e6803f Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r--include/linux/usb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index e8b2ed4ad851..f226476a2ea4 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -755,6 +755,7 @@ usb_get_sec_event_ring_dma_addr(struct usb_device *dev,
extern dma_addr_t usb_get_dcba_dma_addr(struct usb_device *dev);
extern dma_addr_t usb_get_xfer_ring_dma_addr(struct usb_device *dev,
struct usb_host_endpoint *ep);
+extern int usb_get_controller_id(struct usb_device *dev);
/* Sets up a group of bulk endpoints to support multiple stream IDs. */
extern int usb_alloc_streams(struct usb_interface *interface,