OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72af476
)
tty: serial: altera_jtaguart: Fixup type usage of port flags
author
Tobias Klauser
<tklauser@distanz.ch>
Fri, 18 Feb 2011 15:38:40 +0000
(16:38 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 22 Feb 2011 23:50:04 +0000
(15:50 -0800)
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>
drivers/tty/serial/altera_jtaguart.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/altera_jtaguart.c
b/drivers/tty/serial/altera_jtaguart.c
index
aa2a4ca
..
8f014bb
100644
(file)
--- 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)
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);