aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/serial.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h
index 302ddf55d2da..3fa68b615ac1 100644
--- a/include/linux/usb/serial.h
+++ b/include/linux/usb/serial.h
@@ -37,7 +37,8 @@
37 * @serial: pointer back to the struct usb_serial owner of this port. 37 * @serial: pointer back to the struct usb_serial owner of this port.
38 * @port: pointer to the corresponding tty_port for this port. 38 * @port: pointer to the corresponding tty_port for this port.
39 * @lock: spinlock to grab when updating portions of this structure. 39 * @lock: spinlock to grab when updating portions of this structure.
40 * @number: the number of the port (the minor number). 40 * @minor: the minor number of the port
41 * @port_number: the struct usb_serial port number of this port (starts at 0)
41 * @interrupt_in_buffer: pointer to the interrupt in buffer for this port. 42 * @interrupt_in_buffer: pointer to the interrupt in buffer for this port.
42 * @interrupt_in_urb: pointer to the interrupt in struct urb for this port. 43 * @interrupt_in_urb: pointer to the interrupt in struct urb for this port.
43 * @interrupt_in_endpointAddress: endpoint address for the interrupt in pipe 44 * @interrupt_in_endpointAddress: endpoint address for the interrupt in pipe
@@ -80,7 +81,8 @@ struct usb_serial_port {
80 struct usb_serial *serial; 81 struct usb_serial *serial;
81 struct tty_port port; 82 struct tty_port port;
82 spinlock_t lock; 83 spinlock_t lock;
83 unsigned char number; 84 u32 minor;
85 u8 port_number;
84 86
85 unsigned char *interrupt_in_buffer; 87 unsigned char *interrupt_in_buffer;
86 struct urb *interrupt_in_urb; 88 struct urb *interrupt_in_urb;