Skip to content

Commit

Permalink
tty: serial: altera_jtaguart: Fixup type usage of port flags
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tobias Klauser authored and Greg Kroah-Hartman committed Feb 22, 2011
1 parent 72af476 commit 44ed76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/altera_jtaguart.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ static int __devinit altera_jtaguart_probe(struct platform_device *pdev)
port->type = PORT_ALTERA_JTAGUART;
port->iotype = SERIAL_IO_MEM;
port->ops = &altera_jtaguart_ops;
port->flags = ASYNC_BOOT_AUTOCONF;
port->flags = UPF_BOOT_AUTOCONF;

uart_add_one_port(&altera_jtaguart_driver, port);

Expand Down

0 comments on commit 44ed76b

Please sign in to comment.