]> git.hungrycats.org Git - linux/commitdiff
Fix up USB serial console for tty layer changes.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 22 Oct 2004 03:05:12 +0000 (20:05 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 22 Oct 2004 03:05:12 +0000 (20:05 -0700)
This didn't show up in my "allmodconfig" tests, because the
console requires things to be built-in, not modules.

drivers/usb/serial/console.c

index 237d9d30da612328842827f05a3ea38ebeb19e46..167f8ec561319cc11f03133a74beacf5775efae5 100644 (file)
@@ -218,9 +218,9 @@ static void usb_console_write(struct console *co, const char *buf, unsigned coun
 
        /* pass on to the driver specific version of this function if it is available */
        if (serial->type->write)
-               retval = serial->type->write(port, 0, buf, count);
+               retval = serial->type->write(port, buf, count);
        else
-               retval = usb_serial_generic_write(port, 0, buf, count);
+               retval = usb_serial_generic_write(port, buf, count);
 
 exit:
        dbg("%s - return value (if we had one): %d", __FUNCTION__, retval);