diff options
author | Felipe Balbi <balbi@ti.com> | 2013-03-07 09:45:56 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 10:18:03 +0100 |
commit | 7009bdd7f31ed6e769af0f76e2368bb6033be572 (patch) | |
tree | 77937b38a3e34edce74c966695849bf528575271 /include | |
parent | usb: otg: prefix otg_state_string with usb_ (diff) | |
download | linux-7009bdd7f31ed6e769af0f76e2368bb6033be572.tar.xz linux-7009bdd7f31ed6e769af0f76e2368bb6033be572.zip |
usb: otg: move usb_otg_state_string to usb-common.c
otg.c only had a single function definition
which might make more sense to be placed in
usb-common.c. While doing that, we also delete
otg.c since it's now empty.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/otg.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/usb/otg.h b/include/linux/usb/otg.h index 9f9fb3927b0a..291e01ba32e5 100644 --- a/include/linux/usb/otg.h +++ b/include/linux/usb/otg.h @@ -36,14 +36,7 @@ struct usb_otg { }; -#ifdef CONFIG_USB_OTG_UTILS extern const char *usb_otg_state_string(enum usb_otg_state state); -#else -static inline const char *usb_otg_state_string(enum usb_otg_state state) -{ - return NULL; -} -#endif /* Context: can sleep */ static inline int |