diff options
Diffstat (limited to 'drivers/usb/serial/ir-usb.c')
-rw-r--r-- | drivers/usb/serial/ir-usb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/serial/ir-usb.c b/drivers/usb/serial/ir-usb.c index 1b348df388ed..331bf81556fc 100644 --- a/drivers/usb/serial/ir-usb.c +++ b/drivers/usb/serial/ir-usb.c | |||
@@ -105,8 +105,8 @@ static int ir_startup (struct usb_serial *serial); | |||
105 | static int ir_open (struct usb_serial_port *port, struct file *filep); | 105 | static int ir_open (struct usb_serial_port *port, struct file *filep); |
106 | static void ir_close (struct usb_serial_port *port, struct file *filep); | 106 | static void ir_close (struct usb_serial_port *port, struct file *filep); |
107 | static int ir_write (struct usb_serial_port *port, const unsigned char *buf, int count); | 107 | static int ir_write (struct usb_serial_port *port, const unsigned char *buf, int count); |
108 | static void ir_write_bulk_callback (struct urb *urb, struct pt_regs *regs); | 108 | static void ir_write_bulk_callback (struct urb *urb); |
109 | static void ir_read_bulk_callback (struct urb *urb, struct pt_regs *regs); | 109 | static void ir_read_bulk_callback (struct urb *urb); |
110 | static void ir_set_termios (struct usb_serial_port *port, struct termios *old_termios); | 110 | static void ir_set_termios (struct usb_serial_port *port, struct termios *old_termios); |
111 | 111 | ||
112 | static u8 ir_baud = 0; | 112 | static u8 ir_baud = 0; |
@@ -388,7 +388,7 @@ static int ir_write (struct usb_serial_port *port, const unsigned char *buf, int | |||
388 | return result; | 388 | return result; |
389 | } | 389 | } |
390 | 390 | ||
391 | static void ir_write_bulk_callback (struct urb *urb, struct pt_regs *regs) | 391 | static void ir_write_bulk_callback (struct urb *urb) |
392 | { | 392 | { |
393 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; | 393 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; |
394 | 394 | ||
@@ -410,7 +410,7 @@ static void ir_write_bulk_callback (struct urb *urb, struct pt_regs *regs) | |||
410 | usb_serial_port_softint(port); | 410 | usb_serial_port_softint(port); |
411 | } | 411 | } |
412 | 412 | ||
413 | static void ir_read_bulk_callback (struct urb *urb, struct pt_regs *regs) | 413 | static void ir_read_bulk_callback (struct urb *urb) |
414 | { | 414 | { |
415 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; | 415 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; |
416 | struct tty_struct *tty; | 416 | struct tty_struct *tty; |