1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Cadence USBSS DRD Driver - Host Export APIs
5 * Copyright (C) 2017-2018 NXP
7 * Authors: Peter Chen <peter.chen@nxp.com>
9 #ifndef __LINUX_CDNS3_HOST_EXPORT
10 #define __LINUX_CDNS3_HOST_EXPORT
13 #ifdef CONFIG_USB_CDNS3_HOST
15 int cdns3_host_init(struct cdns3
*cdns
);
16 int xhci_cdns3_suspend_quirk(struct usb_hcd
*hcd
);
20 static inline int cdns3_host_init(struct cdns3
*cdns
)
25 static inline void cdns3_host_exit(struct cdns3
*cdns
) { }
26 static inline int xhci_cdns3_suspend_quirk(struct usb_hcd
*hcd
)
31 #endif /* CONFIG_USB_CDNS3_HOST */
33 #endif /* __LINUX_CDNS3_HOST_EXPORT */