2012-05-11 22:25:54 +08:00
|
|
|
#ifndef __DRIVERS_USB_CHIPIDEA_HOST_H
|
|
|
|
#define __DRIVERS_USB_CHIPIDEA_HOST_H
|
|
|
|
|
|
|
|
#ifdef CONFIG_USB_CHIPIDEA_HOST
|
|
|
|
|
2013-06-24 19:46:36 +08:00
|
|
|
int ci_hdrc_host_init(struct ci_hdrc *ci);
|
2012-05-11 22:25:54 +08:00
|
|
|
|
|
|
|
#else
|
|
|
|
|
2013-06-24 19:46:36 +08:00
|
|
|
static inline int ci_hdrc_host_init(struct ci_hdrc *ci)
|
2012-05-11 22:25:54 +08:00
|
|
|
{
|
|
|
|
return -ENXIO;
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __DRIVERS_USB_CHIPIDEA_HOST_H */
|