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