OpenCloudOS-Kernel/drivers/usb/chipidea/host.h

18 lines
289 B
C
Raw Normal View History

#ifndef __DRIVERS_USB_CHIPIDEA_HOST_H
#define __DRIVERS_USB_CHIPIDEA_HOST_H
#ifdef CONFIG_USB_CHIPIDEA_HOST
int ci_hdrc_host_init(struct ci_hdrc *ci);
#else
static inline int ci_hdrc_host_init(struct ci_hdrc *ci)
{
return -ENXIO;
}
#endif
#endif /* __DRIVERS_USB_CHIPIDEA_HOST_H */