aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/host.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/chipidea/host.h')
-rw-r--r--drivers/usb/chipidea/host.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/host.h b/drivers/usb/chipidea/host.h
index 058875c15333..5707bf379bfb 100644
--- a/drivers/usb/chipidea/host.h
+++ b/drivers/usb/chipidea/host.h
@@ -4,6 +4,7 @@
4#ifdef CONFIG_USB_CHIPIDEA_HOST 4#ifdef CONFIG_USB_CHIPIDEA_HOST
5 5
6int ci_hdrc_host_init(struct ci_hdrc *ci); 6int ci_hdrc_host_init(struct ci_hdrc *ci);
7void ci_hdrc_host_destroy(struct ci_hdrc *ci);
7 8
8#else 9#else
9 10
@@ -12,6 +13,11 @@ static inline int ci_hdrc_host_init(struct ci_hdrc *ci)
12 return -ENXIO; 13 return -ENXIO;
13} 14}
14 15
16static inline void ci_hdrc_host_destroy(struct ci_hdrc *ci)
17{
18
19}
20
15#endif 21#endif
16 22
17#endif /* __DRIVERS_USB_CHIPIDEA_HOST_H */ 23#endif /* __DRIVERS_USB_CHIPIDEA_HOST_H */