Merge tag 'v6.4-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[linux-block.git] / drivers / usb / chipidea / host.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
eb70e5ab
AS
2#ifndef __DRIVERS_USB_CHIPIDEA_HOST_H
3#define __DRIVERS_USB_CHIPIDEA_HOST_H
4
5#ifdef CONFIG_USB_CHIPIDEA_HOST
6
8e22978c 7int ci_hdrc_host_init(struct ci_hdrc *ci);
3f124d23 8void ci_hdrc_host_destroy(struct ci_hdrc *ci);
2f01a33b 9void ci_hdrc_host_driver_init(void);
eb70e5ab
AS
10
11#else
12
8e22978c 13static inline int ci_hdrc_host_init(struct ci_hdrc *ci)
eb70e5ab
AS
14{
15 return -ENXIO;
16}
17
3f124d23
PC
18static inline void ci_hdrc_host_destroy(struct ci_hdrc *ci)
19{
20
21}
22
9d69cd82 23static inline void ci_hdrc_host_driver_init(void)
2f01a33b
PC
24{
25
26}
27
eb70e5ab
AS
28#endif
29
30#endif /* __DRIVERS_USB_CHIPIDEA_HOST_H */