aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/serial/option.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 2a07945c4232..283383df130d 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -128,7 +128,7 @@ static struct usb_driver option_driver = {
128static struct usb_serial_driver option_3port_device = { 128static struct usb_serial_driver option_3port_device = {
129 .driver = { 129 .driver = {
130 .owner = THIS_MODULE, 130 .owner = THIS_MODULE,
131 .name = "option", 131 .name = "option3",
132 }, 132 },
133 .description = "GSM modem (3-port)", 133 .description = "GSM modem (3-port)",
134 .id_table = option_ids3, 134 .id_table = option_ids3,
@@ -143,6 +143,7 @@ static struct usb_serial_driver option_3port_device = {
143 .chars_in_buffer = option_chars_in_buffer, 143 .chars_in_buffer = option_chars_in_buffer,
144 .throttle = option_rx_throttle, 144 .throttle = option_rx_throttle,
145 .unthrottle = option_rx_unthrottle, 145 .unthrottle = option_rx_unthrottle,
146 .ioctl = option_ioctl,
146 .set_termios = option_set_termios, 147 .set_termios = option_set_termios,
147 .break_ctl = option_break_ctl, 148 .break_ctl = option_break_ctl,
148 .tiocmget = option_tiocmget, 149 .tiocmget = option_tiocmget,
@@ -155,7 +156,7 @@ static struct usb_serial_driver option_3port_device = {
155static struct usb_serial_driver option_1port_device = { 156static struct usb_serial_driver option_1port_device = {
156 .driver = { 157 .driver = {
157 .owner = THIS_MODULE, 158 .owner = THIS_MODULE,
158 .name = "option", 159 .name = "option1",
159 }, 160 },
160 .description = "GSM modem (1-port)", 161 .description = "GSM modem (1-port)",
161 .id_table = option_ids1, 162 .id_table = option_ids1,
@@ -630,7 +631,6 @@ static void option_setup_urbs(struct usb_serial *serial)
630 631
631 dbg("%s", __FUNCTION__); 632 dbg("%s", __FUNCTION__);
632 633
633
634 for (i = 0; i < serial->num_ports; i++) { 634 for (i = 0; i < serial->num_ports; i++) {
635 port = serial->port[i]; 635 port = serial->port[i];
636 portdata = usb_get_serial_port_data(port); 636 portdata = usb_get_serial_port_data(port);