0001
0002 #ifndef __LINUX_USB_NOP_XCEIV_H
0003 #define __LINUX_USB_NOP_XCEIV_H
0004
0005 #include <linux/usb/otg.h>
0006
0007 #if IS_ENABLED(CONFIG_NOP_USB_XCEIV)
0008
0009 extern struct platform_device *usb_phy_generic_register(void);
0010 extern void usb_phy_generic_unregister(struct platform_device *);
0011 #else
0012 static inline struct platform_device *usb_phy_generic_register(void)
0013 {
0014 return NULL;
0015 }
0016
0017 static inline void usb_phy_generic_unregister(struct platform_device *pdev)
0018 {
0019 }
0020 #endif
0021
0022 #endif