diff options
Diffstat (limited to 'drivers/usb/serial/omninet.c')
-rw-r--r-- | drivers/usb/serial/omninet.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/serial/omninet.c b/drivers/usb/serial/omninet.c index a764ff4e326c..bc91d3b726fc 100644 --- a/drivers/usb/serial/omninet.c +++ b/drivers/usb/serial/omninet.c | |||
@@ -64,8 +64,8 @@ static int debug; | |||
64 | /* function prototypes */ | 64 | /* function prototypes */ |
65 | static int omninet_open (struct usb_serial_port *port, struct file *filp); | 65 | static int omninet_open (struct usb_serial_port *port, struct file *filp); |
66 | static void omninet_close (struct usb_serial_port *port, struct file *filp); | 66 | static void omninet_close (struct usb_serial_port *port, struct file *filp); |
67 | static void omninet_read_bulk_callback (struct urb *urb, struct pt_regs *regs); | 67 | static void omninet_read_bulk_callback (struct urb *urb); |
68 | static void omninet_write_bulk_callback (struct urb *urb, struct pt_regs *regs); | 68 | static void omninet_write_bulk_callback (struct urb *urb); |
69 | static int omninet_write (struct usb_serial_port *port, const unsigned char *buf, int count); | 69 | static int omninet_write (struct usb_serial_port *port, const unsigned char *buf, int count); |
70 | static int omninet_write_room (struct usb_serial_port *port); | 70 | static int omninet_write_room (struct usb_serial_port *port); |
71 | static void omninet_shutdown (struct usb_serial *serial); | 71 | static void omninet_shutdown (struct usb_serial *serial); |
@@ -194,7 +194,7 @@ static void omninet_close (struct usb_serial_port *port, struct file * filp) | |||
194 | #define OMNINET_HEADERLEN sizeof(struct omninet_header) | 194 | #define OMNINET_HEADERLEN sizeof(struct omninet_header) |
195 | #define OMNINET_BULKOUTSIZE (64 - OMNINET_HEADERLEN) | 195 | #define OMNINET_BULKOUTSIZE (64 - OMNINET_HEADERLEN) |
196 | 196 | ||
197 | static void omninet_read_bulk_callback (struct urb *urb, struct pt_regs *regs) | 197 | static void omninet_read_bulk_callback (struct urb *urb) |
198 | { | 198 | { |
199 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; | 199 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; |
200 | unsigned char *data = urb->transfer_buffer; | 200 | unsigned char *data = urb->transfer_buffer; |
@@ -306,7 +306,7 @@ static int omninet_write_room (struct usb_serial_port *port) | |||
306 | return (room); | 306 | return (room); |
307 | } | 307 | } |
308 | 308 | ||
309 | static void omninet_write_bulk_callback (struct urb *urb, struct pt_regs *regs) | 309 | static void omninet_write_bulk_callback (struct urb *urb) |
310 | { | 310 | { |
311 | /* struct omninet_header *header = (struct omninet_header *) urb->transfer_buffer; */ | 311 | /* struct omninet_header *header = (struct omninet_header *) urb->transfer_buffer; */ |
312 | struct usb_serial_port *port = (struct usb_serial_port *) urb->context; | 312 | struct usb_serial_port *port = (struct usb_serial_port *) urb->context; |