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);
|
2013-08-14 17:44:07 +08:00
|
|
|
void ci_hdrc_host_destroy(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;
|
|
|
|
}
|
|
|
|
|
2013-08-14 17:44:07 +08:00
|
|
|
static inline void ci_hdrc_host_destroy(struct ci_hdrc *ci)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2012-05-11 22:25:54 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __DRIVERS_USB_CHIPIDEA_HOST_H */
|