1#ifndef __DRIVERS_USB_CHIPIDEA_HOST_H 2#define __DRIVERS_USB_CHIPIDEA_HOST_H 3 4#ifdef CONFIG_USB_CHIPIDEA_HOST 5 6int ci_hdrc_host_init(struct ci_hdrc *ci); 7void ci_hdrc_host_destroy(struct ci_hdrc *ci); 8void ci_hdrc_host_driver_init(void); 9 10#else 11 12static inline int ci_hdrc_host_init(struct ci_hdrc *ci) 13{ 14 return -ENXIO; 15} 16 17static inline void ci_hdrc_host_destroy(struct ci_hdrc *ci) 18{ 19 20} 21 22static void ci_hdrc_host_driver_init(void) 23{ 24 25} 26 27#endif 28 29#endif /* __DRIVERS_USB_CHIPIDEA_HOST_H */ 30