summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@nxp.com>2018-09-04 16:04:14 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:33:45 +0800
commitf4211724d6228a0515d93a320f1016947bd0c37c (patch)
tree2b5fd137566c7b4005bca3b864212b6b277d4f24 /drivers
parent5f8fa6ff38b69cb922374512a2010cc8a26bb80d (diff)
MLK-19442-1 usb: host: xhci: export xhci_bus_suspend
It may be used by xhci platform driver, fixed below error when building xhci as module. ERROR: "xhci_bus_suspend" [drivers/usb/cdns3/cdns3.ko] undefined! linux-imx/scripts/Makefile.modpost:92: recipe for target '__modpost' failed make[2]: *** [__modpost] Error 1 linux-imx/Makefile:1231: recipe for target 'modules' failed make[1]: *** [modules] Error 2 Reported-by: Bruce Zhang <bo.zhang@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/host/xhci-hub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-hub.c b/drivers/usb/host/xhci-hub.c
index dc5b1940bd31..ccf14c11d146 100644
--- a/drivers/usb/host/xhci-hub.c
+++ b/drivers/usb/host/xhci-hub.c
@@ -1592,6 +1592,7 @@ int xhci_bus_suspend(struct usb_hcd *hcd)
spin_unlock_irqrestore(&xhci->lock, flags);
return 0;
}
+EXPORT_SYMBOL(xhci_bus_suspend);
/*
* Workaround for missing Cold Attach Status (CAS) if device re-plugged in S3.