diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/usbdevice_fs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/uapi/linux/usbdevice_fs.h b/include/uapi/linux/usbdevice_fs.h index 0c65e4b12617..cbf122db56bc 100644 --- a/include/uapi/linux/usbdevice_fs.h +++ b/include/uapi/linux/usbdevice_fs.h | |||
| @@ -102,7 +102,10 @@ struct usbdevfs_urb { | |||
| 102 | int buffer_length; | 102 | int buffer_length; |
| 103 | int actual_length; | 103 | int actual_length; |
| 104 | int start_frame; | 104 | int start_frame; |
| 105 | int number_of_packets; | 105 | union { |
| 106 | int number_of_packets; /* Only used for isoc urbs */ | ||
| 107 | unsigned int stream_id; /* Only used with bulk streams */ | ||
| 108 | }; | ||
| 106 | int error_count; | 109 | int error_count; |
| 107 | unsigned int signr; /* signal to be sent on completion, | 110 | unsigned int signr; /* signal to be sent on completion, |
| 108 | or 0 if none should be sent. */ | 111 | or 0 if none should be sent. */ |
