]> err.no Git - linux-2.6/blobdiff - drivers/usb/serial/usb_debug.c
iwlwifi: fix printk newlines
[linux-2.6] / drivers / usb / serial / usb_debug.c
index 9ca4d4db1dddc80c7d91b499f7258a168c3be5be..fc5d9952b03b0aceb901d2f4fb0f95eb62d54bbd 100644 (file)
@@ -31,10 +31,11 @@ static struct usb_driver debug_driver = {
        .no_dynamic_id =        1,
 };
 
-int usb_debug_open(struct usb_serial_port *port, struct file *filp)
+int usb_debug_open(struct tty_struct *tty, struct usb_serial_port *port,
+                                                       struct file *filp)
 {
        port->bulk_out_size = USB_DEBUG_MAX_PACKET_SIZE;
-       return usb_serial_generic_open(port, filp);
+       return usb_serial_generic_open(tty, port, filp);
 }
 
 static struct usb_serial_driver debug_device = {