Commit ca74c1de authored by Linus Torvalds's avatar Linus Torvalds

Fix up USB serial console for tty layer changes.

This didn't show up in my "allmodconfig" tests, because the
console requires things to be built-in, not modules.
parent abed516f
......@@ -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);
......
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