This source file includes following definitions.
- cdns3_gadget_init
- cdns3_gadget_exit
1
2
3
4
5
6
7
8
9
10 #ifndef __LINUX_CDNS3_GADGET_EXPORT
11 #define __LINUX_CDNS3_GADGET_EXPORT
12
13 #ifdef CONFIG_USB_CDNS3_GADGET
14
15 int cdns3_gadget_init(struct cdns3 *cdns);
16 void cdns3_gadget_exit(struct cdns3 *cdns);
17 #else
18
19 static inline int cdns3_gadget_init(struct cdns3 *cdns)
20 {
21 return -ENXIO;
22 }
23
24 static inline void cdns3_gadget_exit(struct cdns3 *cdns) { }
25
26 #endif
27
28 #endif