host.h 289 B

1234567891011121314151617
  1. #ifndef __DRIVERS_USB_CHIPIDEA_HOST_H
  2. #define __DRIVERS_USB_CHIPIDEA_HOST_H
  3. #ifdef CONFIG_USB_CHIPIDEA_HOST
  4. int ci_hdrc_host_init(struct ci13xxx *ci);
  5. #else
  6. static inline int ci_hdrc_host_init(struct ci13xxx *ci)
  7. {
  8. return -ENXIO;
  9. }
  10. #endif
  11. #endif /* __DRIVERS_USB_CHIPIDEA_HOST_H */