tty: serial: altera_jtaguart: Fixup type usage of port flags
port->flags is of type upf_t, which corresponds to UPF_* flags. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Родитель
72af4762ee
Коммит
44ed76b78e
|
@ -445,7 +445,7 @@ static int __devinit altera_jtaguart_probe(struct platform_device *pdev)
|
||||||
port->type = PORT_ALTERA_JTAGUART;
|
port->type = PORT_ALTERA_JTAGUART;
|
||||||
port->iotype = SERIAL_IO_MEM;
|
port->iotype = SERIAL_IO_MEM;
|
||||||
port->ops = &altera_jtaguart_ops;
|
port->ops = &altera_jtaguart_ops;
|
||||||
port->flags = ASYNC_BOOT_AUTOCONF;
|
port->flags = UPF_BOOT_AUTOCONF;
|
||||||
|
|
||||||
uart_add_one_port(&altera_jtaguart_driver, port);
|
uart_add_one_port(&altera_jtaguart_driver, port);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче