summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/uas.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/usb/uas.h b/include/linux/usb/uas.h
index 856be7fcbbd8..9a988e413694 100644
--- a/include/linux/usb/uas.h
+++ b/include/linux/usb/uas.h
@@ -47,6 +47,14 @@ struct sense_iu {
__u8 sense[SCSI_SENSE_BUFFERSIZE];
};
+struct usb_pipe_usage_descriptor {
+ __u8 bLength;
+ __u8 bDescriptorType;
+
+ __u8 bPipeID;
+ __u8 Reserved;
+} __attribute__((__packed__));
+
enum {
CMD_PIPE_ID = 1,
STATUS_PIPE_ID = 2,