Alexander Shishkin | eb70e5a | 2012-05-11 17:25:54 +0300 | [diff] [blame] | 1 | #ifndef __DRIVERS_USB_CHIPIDEA_HOST_H |
2 | #define __DRIVERS_USB_CHIPIDEA_HOST_H | ||||
3 | |||||
4 | #ifdef CONFIG_USB_CHIPIDEA_HOST | ||||
5 | |||||
6 | int ci_hdrc_host_init(struct ci13xxx *ci); | ||||
7 | |||||
8 | #else | ||||
9 | |||||
10 | static inline int ci_hdrc_host_init(struct ci13xxx *ci) | ||||
11 | { | ||||
12 | return -ENXIO; | ||||
13 | } | ||||
14 | |||||
15 | #endif | ||||
16 | |||||
17 | #endif /* __DRIVERS_USB_CHIPIDEA_HOST_H */ |