![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 /* 0003 * Cadence USBSS and USBSSP DRD Driver - Host Export APIs 0004 * 0005 * Copyright (C) 2017-2018 NXP 0006 * 0007 * Authors: Peter Chen <peter.chen@nxp.com> 0008 */ 0009 #ifndef __LINUX_CDNS3_HOST_EXPORT 0010 #define __LINUX_CDNS3_HOST_EXPORT 0011 0012 #if IS_ENABLED(CONFIG_USB_CDNS_HOST) 0013 0014 int cdns_host_init(struct cdns *cdns); 0015 0016 #else 0017 0018 static inline int cdns_host_init(struct cdns *cdns) 0019 { 0020 return -ENXIO; 0021 } 0022 0023 static inline void cdns_host_exit(struct cdns *cdns) { } 0024 0025 #endif /* USB_CDNS_HOST */ 0026 0027 #endif /* __LINUX_CDNS3_HOST_EXPORT */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |