// SPDX-License-Identifier: GPL-2.0+ /* * USB of helper code */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/of.h> #include <linux/usb/of.h> #include <linux/usb/otg.h> static const char *const usbphy_modes[] = …; /** * of_usb_get_phy_mode - Get phy mode for given device_node * @np: Pointer to the given device_node * * The function gets phy interface string from property 'phy_type', * and returns the corresponding enum usb_phy_interface */ enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np) { … } EXPORT_SYMBOL_GPL(…);