diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-01-22 02:03:28 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-01-22 02:03:28 +0300 |
commit | 0077d45e46fe2af3aaee5813c99268afcd0e7c0e (patch) | |
tree | 3de13b52930e350f93523fb3c84c0b8fb4a7e7fb /include/linux/serial_8250.h | |
parent | 27ae7a7435634820e7f7e2b922d8119f79cfc6e4 (diff) | |
download | linux-0077d45e46fe2af3aaee5813c99268afcd0e7c0e.tar.xz |
[SERIAL] Make uart_port flags a bitwise type
Same reasoning as commit 747c8a55946ed037bf7d62454c3c599c02af2262
but this time we're making uart_port flags a bitwise type - not
all of these flags correspond with the old ASYNC_ flags, so there
is the possibility for bugs if the wrong ASYNC_* constants are
used. Always use UPF_* constants for uart_port->flags.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux/serial_8250.h')
-rw-r--r-- | include/linux/serial_8250.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/serial_8250.h b/include/linux/serial_8250.h index cee302aefdb7..73b464f0926a 100644 --- a/include/linux/serial_8250.h +++ b/include/linux/serial_8250.h @@ -26,7 +26,7 @@ struct plat_serial8250_port { unsigned char regshift; /* register shift */ unsigned char iotype; /* UPIO_* */ unsigned char hub6; - unsigned int flags; /* UPF_* flags */ + upf_t flags; /* UPF_* flags */ }; /* |