diff options
Diffstat (limited to 'drivers/usb/serial/cypress_m8.c')
-rw-r--r-- | drivers/usb/serial/cypress_m8.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/serial/cypress_m8.c b/drivers/usb/serial/cypress_m8.c index e1173c1aee37..f2e89a083659 100644 --- a/drivers/usb/serial/cypress_m8.c +++ b/drivers/usb/serial/cypress_m8.c | |||
@@ -172,8 +172,8 @@ static int cypress_chars_in_buffer (struct usb_serial_port *port); | |||
172 | static void cypress_throttle (struct usb_serial_port *port); | 172 | static void cypress_throttle (struct usb_serial_port *port); |
173 | static void cypress_unthrottle (struct usb_serial_port *port); | 173 | static void cypress_unthrottle (struct usb_serial_port *port); |
174 | static void cypress_set_dead (struct usb_serial_port *port); | 174 | static void cypress_set_dead (struct usb_serial_port *port); |
175 | static void cypress_read_int_callback (struct urb *urb, struct pt_regs *regs); | 175 | static void cypress_read_int_callback (struct urb *urb); |
176 | static void cypress_write_int_callback (struct urb *urb, struct pt_regs *regs); | 176 | static void cypress_write_int_callback (struct urb *urb); |
177 | /* baud helper functions */ | 177 | /* baud helper functions */ |
178 | static int mask_to_rate (unsigned mask); | 178 | static int mask_to_rate (unsigned mask); |
179 | static unsigned rate_to_mask (int rate); | 179 | static unsigned rate_to_mask (int rate); |
@@ -1275,7 +1275,7 @@ static void cypress_unthrottle (struct usb_serial_port *port) | |||
1275 | } | 1275 | } |
1276 | 1276 | ||
1277 | 1277 | ||
1278 | static void cypress_read_int_callback(struct urb *urb, struct pt_regs *regs) | 1278 | static void cypress_read_int_callback(struct urb *urb) |
1279 | { | 1279 | { |
1280 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; | 1280 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; |
1281 | struct cypress_private *priv = usb_get_serial_port_data(port); | 1281 | struct cypress_private *priv = usb_get_serial_port_data(port); |
@@ -1426,7 +1426,7 @@ continue_read: | |||
1426 | } /* cypress_read_int_callback */ | 1426 | } /* cypress_read_int_callback */ |
1427 | 1427 | ||
1428 | 1428 | ||
1429 | static void cypress_write_int_callback(struct urb *urb, struct pt_regs *regs) | 1429 | static void cypress_write_int_callback(struct urb *urb) |
1430 | { | 1430 | { |
1431 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; | 1431 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; |
1432 | struct cypress_private *priv = usb_get_serial_port_data(port); | 1432 | struct cypress_private *priv = usb_get_serial_port_data(port); |