]>
Commit | Line | Data |
---|---|---|
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 | 6 | int ci_hdrc_host_init(struct ci_hdrc *ci); |
3f124d23 | 7 | void ci_hdrc_host_destroy(struct ci_hdrc *ci); |
2f01a33b | 8 | void ci_hdrc_host_driver_init(void); |
eb70e5ab AS |
9 | |
10 | #else | |
11 | ||
8e22978c | 12 | static inline int ci_hdrc_host_init(struct ci_hdrc *ci) |
eb70e5ab AS |
13 | { |
14 | return -ENXIO; | |
15 | } | |
16 | ||
3f124d23 PC |
17 | static inline void ci_hdrc_host_destroy(struct ci_hdrc *ci) |
18 | { | |
19 | ||
20 | } | |
21 | ||
2f01a33b PC |
22 | static void ci_hdrc_host_driver_init(void) |
23 | { | |
24 | ||
25 | } | |
26 | ||
eb70e5ab AS |
27 | #endif |
28 | ||
29 | #endif /* __DRIVERS_USB_CHIPIDEA_HOST_H */ |