diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
commit | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (patch) | |
tree | 93824f573767da634fbc82c388b6d33cc454212b /drivers/usb/serial/omninet.c | |
parent | c1a26e7d40fb814716950122353a1a556844286b (diff) | |
parent | 7d12e780e003f93433d49ce78cfedf4b4c52adc5 (diff) |
Merge git://git.infradead.org/~dhowells/irq-2.6
* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
IRQ: Typedef the IRQ handler function type
IRQ: Typedef the IRQ flow handler function type
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; |