Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[deliverable/linux.git] / drivers / usb / chipidea / host.h
CommitLineData
eb70e5ab
AS
1#ifndef __DRIVERS_USB_CHIPIDEA_HOST_H
2#define __DRIVERS_USB_CHIPIDEA_HOST_H
3
4#ifdef CONFIG_USB_CHIPIDEA_HOST
5
8e22978c 6int ci_hdrc_host_init(struct ci_hdrc *ci);
3f124d23 7void ci_hdrc_host_destroy(struct ci_hdrc *ci);
eb70e5ab
AS
8
9#else
10
8e22978c 11static inline int ci_hdrc_host_init(struct ci_hdrc *ci)
eb70e5ab
AS
12{
13 return -ENXIO;
14}
15
3f124d23
PC
16static inline void ci_hdrc_host_destroy(struct ci_hdrc *ci)
17{
18
19}
20
eb70e5ab
AS
21#endif
22
23#endif /* __DRIVERS_USB_CHIPIDEA_HOST_H */
This page took 0.165419 seconds and 5 git commands to generate.