diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2011-02-18 10:38:40 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-22 18:50:04 -0500 |
commit | 44ed76b78e158d852f640d533b7acc08b91f2132 (patch) | |
tree | 35bb26e1cc48560430795d69f84237210afd26c4 /drivers/tty/serial | |
parent | 72af4762ee640b717a30761e27fc55126c686568 (diff) |
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>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r-- | drivers/tty/serial/altera_jtaguart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/altera_jtaguart.c b/drivers/tty/serial/altera_jtaguart.c index aa2a4caaa1c..8f014bb916b 100644 --- a/drivers/tty/serial/altera_jtaguart.c +++ b/drivers/tty/serial/altera_jtaguart.c | |||
@@ -445,7 +445,7 @@ static int __devinit altera_jtaguart_probe(struct platform_device *pdev) | |||
445 | port->type = PORT_ALTERA_JTAGUART; | 445 | port->type = PORT_ALTERA_JTAGUART; |
446 | port->iotype = SERIAL_IO_MEM; | 446 | port->iotype = SERIAL_IO_MEM; |
447 | port->ops = &altera_jtaguart_ops; | 447 | port->ops = &altera_jtaguart_ops; |
448 | port->flags = ASYNC_BOOT_AUTOCONF; | 448 | port->flags = UPF_BOOT_AUTOCONF; |
449 | 449 | ||
450 | uart_add_one_port(&altera_jtaguart_driver, port); | 450 | uart_add_one_port(&altera_jtaguart_driver, port); |
451 | 451 | ||