net: DCB: Validate DCB_ATTR_DCB_BUFFER argument
[linux/fpc-iii.git] / drivers / usb / cdns3 / host-export.h
blobae11810f882618c052e4d4315315380fa74e3f9e
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Cadence USBSS DRD Driver - Host Export APIs
5 * Copyright (C) 2017-2018 NXP
7 * Authors: Peter Chen <peter.chen@nxp.com>
8 */
9 #ifndef __LINUX_CDNS3_HOST_EXPORT
10 #define __LINUX_CDNS3_HOST_EXPORT
12 #ifdef CONFIG_USB_CDNS3_HOST
14 int cdns3_host_init(struct cdns3 *cdns);
16 #else
18 static inline int cdns3_host_init(struct cdns3 *cdns)
20 return -ENXIO;
23 static inline void cdns3_host_exit(struct cdns3 *cdns) { }
25 #endif /* CONFIG_USB_CDNS3_HOST */
27 #endif /* __LINUX_CDNS3_HOST_EXPORT */