/* * OF helpers for usb devices. * * This file is released under the GPLv2 */#ifndef __LINUX_USB_OF_H#define __LINUX_USB_OF_H#include <linux/usb/otg.h>#include <linux/usb/phy.h>#ifdef CONFIG_OFenumusb_phy_interfaceof_usb_get_phy_mode(structdevice_node*np);enumusb_dr_modeof_usb_get_dr_mode(structdevice_node*np);#elsestaticinlineenumusb_phy_interfaceof_usb_get_phy_mode(structdevice_node*np){returnUSBPHY_INTERFACE_MODE_UNKNOWN;}staticinlineenumusb_dr_modeof_usb_get_dr_mode(structdevice_node*np){returnUSB_DR_MODE_UNKNOWN;}#endif#endif /* __LINUX_USB_OF_H */