aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-03-07 03:39:57 -0500
committerFelipe Balbi <balbi@ti.com>2013-03-18 05:18:03 -0400
commit42c0bf1ce7c067bbc3e77d5626f102a16bc4fb6b (patch)
treed3ede9364742732f0e53966e3be9bcfd253255dd /include/linux/usb
parent6a1e3ef45fb0c4d79cbb5190c8fc59263c630b0e (diff)
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>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/otg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/usb/otg.h b/include/linux/usb/otg.h
index e8a5fe87c6bd..9f9fb3927b0a 100644
--- a/include/linux/usb/otg.h
+++ b/include/linux/usb/otg.h
@@ -37,9 +37,9 @@ struct usb_otg {
37}; 37};
38 38
39#ifdef CONFIG_USB_OTG_UTILS 39#ifdef CONFIG_USB_OTG_UTILS
40extern const char *otg_state_string(enum usb_otg_state state); 40extern const char *usb_otg_state_string(enum usb_otg_state state);
41#else 41#else
42static inline const char *otg_state_string(enum usb_otg_state state) 42static inline const char *usb_otg_state_string(enum usb_otg_state state)
43{ 43{
44 return NULL; 44 return NULL;
45} 45}