Commit 2df275fb authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: fixup kobil_sct driver to build properly with urb callback changes.

parent e1644d56
...@@ -81,8 +81,8 @@ static int kobil_write (struct usb_serial_port *port, int from_user, ...@@ -81,8 +81,8 @@ static int kobil_write (struct usb_serial_port *port, int from_user,
static int kobil_write_room(struct usb_serial_port *port); static int kobil_write_room(struct usb_serial_port *port);
static int kobil_ioctl(struct usb_serial_port *port, struct file *file, static int kobil_ioctl(struct usb_serial_port *port, struct file *file,
unsigned int cmd, unsigned long arg); unsigned int cmd, unsigned long arg);
static void kobil_read_int_callback( struct urb *urb ); static void kobil_read_int_callback( struct urb *urb, struct pt_regs *regs );
static void kobil_write_callback( struct urb *purb ); static void kobil_write_callback( struct urb *purb, struct pt_regs *regs );
static struct usb_device_id id_table [] = { static struct usb_device_id id_table [] = {
...@@ -340,7 +340,7 @@ static void kobil_close (struct usb_serial_port *port, struct file *filp) ...@@ -340,7 +340,7 @@ static void kobil_close (struct usb_serial_port *port, struct file *filp)
} }
static void kobil_read_int_callback( struct urb *purb ) static void kobil_read_int_callback( struct urb *purb, struct pt_regs *regs)
{ {
int i; int i;
int result; int result;
...@@ -393,7 +393,7 @@ static void kobil_read_int_callback( struct urb *purb ) ...@@ -393,7 +393,7 @@ static void kobil_read_int_callback( struct urb *purb )
} }
static void kobil_write_callback( struct urb *purb ) static void kobil_write_callback( struct urb *purb, struct pt_regs *regs )
{ {
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment