|
@@ -2352,7 +2352,8 @@ static int __ffs_func_bind_do_descs(enum ffs_entity_type type, u8 *valuep,
|
|
|
struct usb_endpoint_descriptor *ds = (void *)desc;
|
|
|
struct ffs_function *func = priv;
|
|
|
struct ffs_ep *ffs_ep;
|
|
|
- unsigned ep_desc_id, idx;
|
|
|
+ unsigned ep_desc_id;
|
|
|
+ int idx;
|
|
|
static const char *speed_names[] = { "full", "high", "super" };
|
|
|
|
|
|
if (type != FFS_DESCRIPTOR)
|