Linux 4.2.1
[linux/fpc-iii.git] / drivers / usb / chipidea / host.h
blob0f12f131bdd3f22671eaf170476e2511950fa1be
1 #ifndef __DRIVERS_USB_CHIPIDEA_HOST_H
2 #define __DRIVERS_USB_CHIPIDEA_HOST_H
4 #ifdef CONFIG_USB_CHIPIDEA_HOST
6 int ci_hdrc_host_init(struct ci_hdrc *ci);
7 void ci_hdrc_host_destroy(struct ci_hdrc *ci);
8 void ci_hdrc_host_driver_init(void);
10 #else
12 static inline int ci_hdrc_host_init(struct ci_hdrc *ci)
14 return -ENXIO;
17 static inline void ci_hdrc_host_destroy(struct ci_hdrc *ci)
22 static void ci_hdrc_host_driver_init(void)
27 #endif
29 #endif /* __DRIVERS_USB_CHIPIDEA_HOST_H */