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