]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - drivers/usb/chipidea/host.h
usb: hcd.h: Fix the values of SetHubDepth and GetPortErrorCount to match USB 3.1...
[mirror_ubuntu-zesty-kernel.git] / drivers / usb / chipidea / host.h
1 #ifndef __DRIVERS_USB_CHIPIDEA_HOST_H
2 #define __DRIVERS_USB_CHIPIDEA_HOST_H
3
4 #ifdef CONFIG_USB_CHIPIDEA_HOST
5
6 int ci_hdrc_host_init(struct ci_hdrc *ci);
7 void ci_hdrc_host_destroy(struct ci_hdrc *ci);
8
9 #else
10
11 static inline int ci_hdrc_host_init(struct ci_hdrc *ci)
12 {
13 return -ENXIO;
14 }
15
16 static inline void ci_hdrc_host_destroy(struct ci_hdrc *ci)
17 {
18
19 }
20
21 #endif
22
23 #endif /* __DRIVERS_USB_CHIPIDEA_HOST_H */