diff options
-rw-r--r-- | drivers/staging/speakup/serialio.h | 3 | ||||
-rw-r--r-- | drivers/tty/serial/8250/8250.h | 3 | ||||
-rw-r--r-- | drivers/tty/serial/sunsu.c | 6 | ||||
-rw-r--r-- | include/linux/serial.h | 6 |
4 files changed, 7 insertions, 11 deletions
diff --git a/drivers/staging/speakup/serialio.h b/drivers/staging/speakup/serialio.h index 614271f9b99f..55d68b5ad165 100644 --- a/drivers/staging/speakup/serialio.h +++ b/drivers/staging/speakup/serialio.h | |||
@@ -1,8 +1,7 @@ | |||
1 | #ifndef _SPEAKUP_SERIAL_H | 1 | #ifndef _SPEAKUP_SERIAL_H |
2 | #define _SPEAKUP_SERIAL_H | 2 | #define _SPEAKUP_SERIAL_H |
3 | 3 | ||
4 | #include <linux/serial.h> /* for rs_table, serial constants & | 4 | #include <linux/serial.h> /* for rs_table, serial constants */ |
5 | serial_uart_config */ | ||
6 | #include <linux/serial_reg.h> /* for more serial constants */ | 5 | #include <linux/serial_reg.h> /* for more serial constants */ |
7 | #ifndef __sparc__ | 6 | #ifndef __sparc__ |
8 | #include <asm/serial.h> | 7 | #include <asm/serial.h> |
diff --git a/drivers/tty/serial/8250/8250.h b/drivers/tty/serial/8250/8250.h index 972b5212b58c..0c5e908df0b5 100644 --- a/drivers/tty/serial/8250/8250.h +++ b/drivers/tty/serial/8250/8250.h | |||
@@ -26,9 +26,6 @@ struct old_serial_port { | |||
26 | unsigned long irqflags; | 26 | unsigned long irqflags; |
27 | }; | 27 | }; |
28 | 28 | ||
29 | /* | ||
30 | * This replaces serial_uart_config in include/linux/serial.h | ||
31 | */ | ||
32 | struct serial8250_config { | 29 | struct serial8250_config { |
33 | const char *name; | 30 | const char *name; |
34 | unsigned short fifo_size; | 31 | unsigned short fifo_size; |
diff --git a/drivers/tty/serial/sunsu.c b/drivers/tty/serial/sunsu.c index d9190957a5f4..b97913dcdbff 100644 --- a/drivers/tty/serial/sunsu.c +++ b/drivers/tty/serial/sunsu.c | |||
@@ -58,6 +58,12 @@ | |||
58 | enum su_type { SU_PORT_NONE, SU_PORT_MS, SU_PORT_KBD, SU_PORT_PORT }; | 58 | enum su_type { SU_PORT_NONE, SU_PORT_MS, SU_PORT_KBD, SU_PORT_PORT }; |
59 | static char *su_typev[] = { "su(???)", "su(mouse)", "su(kbd)", "su(serial)" }; | 59 | static char *su_typev[] = { "su(???)", "su(mouse)", "su(kbd)", "su(serial)" }; |
60 | 60 | ||
61 | struct serial_uart_config { | ||
62 | char *name; | ||
63 | int dfl_xmit_fifo_size; | ||
64 | int flags; | ||
65 | }; | ||
66 | |||
61 | /* | 67 | /* |
62 | * Here we define the default xmit fifo size used for each type of UART. | 68 | * Here we define the default xmit fifo size used for each type of UART. |
63 | */ | 69 | */ |
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 |