Skip to content

Commit 2cbe475

Browse files
Jim Lingregkh
authored andcommitted
xhci: hub: export symbol on xhci_hub_control
XHCI host drivers may override the default xhci_hub_control() with their own device specific function. To allow these host drivers to call the xhci_hub_control() function from within their own hub_control() callback and be built as a module, export the symbol for xhci_hub_control. Signed-off-by: Jim Lin <[email protected]> Reviewed-by: Jon Hunter <[email protected]> Tested-by: Jon Hunter <[email protected]> Acked-by: Thierry Reding <[email protected]> Acked-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 592338d commit 2cbe475

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/usb/host/xhci-hub.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,6 +1623,7 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
16231623
spin_unlock_irqrestore(&xhci->lock, flags);
16241624
return retval;
16251625
}
1626+
EXPORT_SYMBOL_GPL(xhci_hub_control);
16261627

16271628
/*
16281629
* Returns 0 if the status hasn't changed, or the number of bytes in buf.

0 commit comments

Comments
 (0)