提交 a2d33d87 编写于 作者: A Alan Cox 提交者: Greg Kroah-Hartman

8250: propogate the bugs field

Now we are using the uart_8250_port this is trivial
Signed-off-by: NAlan Cox <alan@linux.intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 2655a2c7
...@@ -3155,6 +3155,7 @@ int serial8250_register_8250_port(struct uart_8250_port *up) ...@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册