8250: propogate the bugs field

Now we are using the uart_8250_port this is trivial

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Alan Cox 2012-07-12 13:00:06 +01:00 committed by Greg Kroah-Hartman
parent 2655a2c76f
commit a2d33d87d8

View File

@ -3155,6 +3155,7 @@ int serial8250_register_8250_port(struct uart_8250_port *up)
uart->port.regshift = up->port.regshift; uart->port.regshift = up->port.regshift;
uart->port.iotype = up->port.iotype; uart->port.iotype = up->port.iotype;
uart->port.flags = up->port.flags | UPF_BOOT_AUTOCONF; uart->port.flags = up->port.flags | UPF_BOOT_AUTOCONF;
uart->bugs = up->bugs;
uart->port.mapbase = up->port.mapbase; uart->port.mapbase = up->port.mapbase;
uart->port.private_data = up->port.private_data; uart->port.private_data = up->port.private_data;
if (up->port.dev) if (up->port.dev)