projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
usb: factor out state_string() on otg drivers
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
usb
/
otg.h
diff --git
a/include/linux/usb/otg.h
b/include/linux/usb/otg.h
index 6e40718f5abea57535d99e20c0b78481cb6c9920..bc84858b3a4df2f542f4344229b7bd4f087b8de1 100644
(file)
--- a/
include/linux/usb/otg.h
+++ b/
include/linux/usb/otg.h
@@
-246,5
+246,6
@@
otg_unregister_notifier(struct otg_transceiver *otg, struct notifier_block *nb)
/* for OTG controller drivers (and maybe other stuff) */
extern int usb_bus_start_enum(struct usb_bus *bus, unsigned port_num);
+extern const char *otg_state_string(enum usb_otg_state state);
#endif /* __LINUX_USB_OTG_H */