0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef __LINUX_CDNS3_GADGET_EXPORT
0011 #define __LINUX_CDNS3_GADGET_EXPORT
0012
0013 #if IS_ENABLED(CONFIG_USB_CDNSP_GADGET)
0014
0015 int cdnsp_gadget_init(struct cdns *cdns);
0016 #else
0017
0018 static inline int cdnsp_gadget_init(struct cdns *cdns)
0019 {
0020 return -ENXIO;
0021 }
0022
0023 #endif
0024
0025 #if IS_ENABLED(CONFIG_USB_CDNS3_GADGET)
0026
0027 int cdns3_gadget_init(struct cdns *cdns);
0028 #else
0029
0030 static inline int cdns3_gadget_init(struct cdns *cdns)
0031 {
0032 return -ENXIO;
0033 }
0034
0035 #endif
0036
0037 #endif