]> Git Repo - linux.git/blob - drivers/usb/cdns3/host-export.h
Merge tag 'drm-intel-gt-next-2022-11-03' of git://anongit.freedesktop.org/drm/drm...
[linux.git] / drivers / usb / cdns3 / host-export.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Cadence USBSS and USBSSP DRD Driver - Host Export APIs
4  *
5  * Copyright (C) 2017-2018 NXP
6  *
7  * Authors: Peter Chen <[email protected]>
8  */
9 #ifndef __LINUX_CDNS3_HOST_EXPORT
10 #define __LINUX_CDNS3_HOST_EXPORT
11
12 #if IS_ENABLED(CONFIG_USB_CDNS_HOST)
13
14 int cdns_host_init(struct cdns *cdns);
15
16 #else
17
18 static inline int cdns_host_init(struct cdns *cdns)
19 {
20         return -ENXIO;
21 }
22
23 static inline void cdns_host_exit(struct cdns *cdns) { }
24
25 #endif /* USB_CDNS_HOST */
26
27 #endif /* __LINUX_CDNS3_HOST_EXPORT */
This page took 0.034539 seconds and 4 git commands to generate.