diff options
author | Anatolij Gustschin <agust@denx.de> | 2011-04-15 10:18:38 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-02 19:39:09 -0400 |
commit | 3dacdf11f1f82b98d301d5e1d42cdaea9a39968a (patch) | |
tree | 8a7b6d46b91fbc51d6e78ff436fc51e7c63aaced /include | |
parent | 67e7d64bcece93c84fd6e3832e7c6d91e57c06dc (diff) |
usb: factor out state_string() on otg drivers
Provide common otg_state_string() and use
it in drivers.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/otg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/otg.h b/include/linux/usb/otg.h index 6e40718f5abe..bc84858b3a4d 100644 --- 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) | |||
246 | 246 | ||
247 | /* for OTG controller drivers (and maybe other stuff) */ | 247 | /* for OTG controller drivers (and maybe other stuff) */ |
248 | extern int usb_bus_start_enum(struct usb_bus *bus, unsigned port_num); | 248 | extern int usb_bus_start_enum(struct usb_bus *bus, unsigned port_num); |
249 | extern const char *otg_state_string(enum usb_otg_state state); | ||
249 | 250 | ||
250 | #endif /* __LINUX_USB_OTG_H */ | 251 | #endif /* __LINUX_USB_OTG_H */ |