diff options
Diffstat (limited to 'include/linux/usb/ch9.h')
-rw-r--r-- | include/linux/usb/ch9.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/usb/ch9.h b/include/linux/usb/ch9.h index 523aa088f6ab..da82606be605 100644 --- a/include/linux/usb/ch9.h +++ b/include/linux/usb/ch9.h | |||
@@ -37,6 +37,14 @@ | |||
37 | #include <uapi/linux/usb/ch9.h> | 37 | #include <uapi/linux/usb/ch9.h> |
38 | 38 | ||
39 | /** | 39 | /** |
40 | * usb_ep_type_string() - Returns human readable-name of the endpoint type. | ||
41 | * @ep_type: The endpoint type to return human-readable name for. If it's not | ||
42 | * any of the types: USB_ENDPOINT_XFER_{CONTROL, ISOC, BULK, INT}, | ||
43 | * usually got by usb_endpoint_type(), the string 'unknown' will be returned. | ||
44 | */ | ||
45 | extern const char *usb_ep_type_string(int ep_type); | ||
46 | |||
47 | /** | ||
40 | * usb_speed_string() - Returns human readable-name of the speed. | 48 | * usb_speed_string() - Returns human readable-name of the speed. |
41 | * @speed: The speed to return human-readable name for. If it's not | 49 | * @speed: The speed to return human-readable name for. If it's not |
42 | * any of the speeds defined in usb_device_speed enum, string for | 50 | * any of the speeds defined in usb_device_speed enum, string for |