diff options
Diffstat (limited to 'include/linux/usb/ch9.h')
| -rw-r--r-- | include/linux/usb/ch9.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/usb/ch9.h b/include/linux/usb/ch9.h index 9c210f2283df..27603bcbb9b9 100644 --- a/include/linux/usb/ch9.h +++ b/include/linux/usb/ch9.h | |||
| @@ -43,4 +43,13 @@ | |||
| 43 | */ | 43 | */ |
| 44 | extern const char *usb_speed_string(enum usb_device_speed speed); | 44 | extern const char *usb_speed_string(enum usb_device_speed speed); |
| 45 | 45 | ||
| 46 | |||
| 47 | /** | ||
| 48 | * usb_state_string - Returns human readable name for the state. | ||
| 49 | * @state: The state to return a human-readable name for. If it's not | ||
| 50 | * any of the states devices in usb_device_state_string enum, | ||
| 51 | * the string UNKNOWN will be returned. | ||
| 52 | */ | ||
| 53 | extern const char *usb_state_string(enum usb_device_state state); | ||
| 54 | |||
| 46 | #endif /* __LINUX_USB_CH9_H */ | 55 | #endif /* __LINUX_USB_CH9_H */ |
