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