aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/kl5kusb105.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/kl5kusb105.c')
-rw-r--r--drivers/usb/serial/kl5kusb105.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/serial/kl5kusb105.c b/drivers/usb/serial/kl5kusb105.c
index 17e205699c2b..73d755df4840 100644
--- a/drivers/usb/serial/kl5kusb105.c
+++ b/drivers/usb/serial/kl5kusb105.c
@@ -86,7 +86,7 @@ static int klsi_105_write_room (struct usb_serial_port *port);
86 86
87static void klsi_105_read_bulk_callback (struct urb *urb); 87static void klsi_105_read_bulk_callback (struct urb *urb);
88static void klsi_105_set_termios (struct usb_serial_port *port, 88static void klsi_105_set_termios (struct usb_serial_port *port,
89 struct termios * old); 89 struct ktermios *old);
90static int klsi_105_ioctl (struct usb_serial_port *port, 90static int klsi_105_ioctl (struct usb_serial_port *port,
91 struct file * file, 91 struct file * file,
92 unsigned int cmd, 92 unsigned int cmd,
@@ -164,7 +164,7 @@ struct klsi_105_port_settings {
164#define URB_TRANSFER_BUFFER_SIZE 64 164#define URB_TRANSFER_BUFFER_SIZE 64
165struct klsi_105_private { 165struct klsi_105_private {
166 struct klsi_105_port_settings cfg; 166 struct klsi_105_port_settings cfg;
167 struct termios termios; 167 struct ktermios termios;
168 unsigned long line_state; /* modem line settings */ 168 unsigned long line_state; /* modem line settings */
169 /* write pool */ 169 /* write pool */
170 struct urb * write_urb_pool[NUM_URBS]; 170 struct urb * write_urb_pool[NUM_URBS];
@@ -688,7 +688,7 @@ static void klsi_105_read_bulk_callback (struct urb *urb)
688 688
689 689
690static void klsi_105_set_termios (struct usb_serial_port *port, 690static void klsi_105_set_termios (struct usb_serial_port *port,
691 struct termios *old_termios) 691 struct ktermios *old_termios)
692{ 692{
693 struct klsi_105_private *priv = usb_get_serial_port_data(port); 693 struct klsi_105_private *priv = usb_get_serial_port_data(port);
694 unsigned int iflag = port->tty->termios->c_iflag; 694 unsigned int iflag = port->tty->termios->c_iflag;