usb: otg: prefix otg_state_string with usb_
all other functions under drivers/usb/ start with usb_, let's do the same thing. This patch is in preparation for moving otg_state_string to usb-common.c and deleting otg.c completely. Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
@@ -37,9 +37,9 @@ struct usb_otg {
|
||||
};
|
||||
|
||||
#ifdef CONFIG_USB_OTG_UTILS
|
||||
extern const char *otg_state_string(enum usb_otg_state state);
|
||||
extern const char *usb_otg_state_string(enum usb_otg_state state);
|
||||
#else
|
||||
static inline const char *otg_state_string(enum usb_otg_state state)
|
||||
static inline const char *usb_otg_state_string(enum usb_otg_state state)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user