diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-08-20 19:56:28 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-05 16:15:07 -0400 |
commit | 4b71598b6a1e72d11a657ccd67bdb14f1c269186 (patch) | |
tree | 3e031c0cec985ccfce40021e669dd2c2a5a6ea28 /include | |
parent | e2c654254e3379f69ce4a2e3f322374dd071337d (diff) |
serial: diminish usage of struct serial_uart_config
This structure might have made sense many years ago, but at this
point it is only used in one specific driver, and referenced in
stale comments elsewhere. Rather than change the sunsu.c driver,
simply move the struct to be within the exclusive domain of that
driver, so it won't get inadvertently picked up and used by other
serial drivers going forward. The comments referencing the now
driver specific struct are updated accordingly.
Note that 8250.c has a struct that is similar in usage, with the
name serial8250_config; but is 100% independent and untouched here.
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/serial.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/serial.h b/include/linux/serial.h index 3504f428ce66..861e51de476b 100644 --- a/include/linux/serial.h +++ b/include/linux/serial.h | |||
@@ -86,12 +86,6 @@ struct serial_struct { | |||
86 | #define SERIAL_IO_HUB6 1 | 86 | #define SERIAL_IO_HUB6 1 |
87 | #define SERIAL_IO_MEM 2 | 87 | #define SERIAL_IO_MEM 2 |
88 | 88 | ||
89 | struct serial_uart_config { | ||
90 | char *name; | ||
91 | int dfl_xmit_fifo_size; | ||
92 | int flags; | ||
93 | }; | ||
94 | |||
95 | #define UART_CLEAR_FIFO 0x01 | 89 | #define UART_CLEAR_FIFO 0x01 |
96 | #define UART_USE_FIFO 0x02 | 90 | #define UART_USE_FIFO 0x02 |
97 | #define UART_STARTECH 0x04 | 91 | #define UART_STARTECH 0x04 |