diff --git a/drivers/usb/serial/generic.c b/drivers/usb/serial/generic.c index 9756b5c22d9460cf5a476f306fffdf31f56ef0b4..be52c748bccb1c569799975824916095883e5e65 100644 --- a/drivers/usb/serial/generic.c +++ b/drivers/usb/serial/generic.c @@ -217,7 +217,7 @@ static int usb_serial_multi_urb_write(struct tty_struct *tty, usb_sndbulkpipe(port->serial->dev, port->bulk_out_endpointAddress), buffer, towrite, - usb_serial_generic_write_bulk_callback, port); + port->serial->type->write_bulk_callback, port); status = usb_submit_urb(urb, GFP_ATOMIC); if (status) {