Skip to content

Commit ea1be1e

Browse files
seehearfeelgregkh
authored andcommitted
serial: Remove duplicated macro definition of port type
There exists the same macro definition of port type from 0 to 13 in include/uapi/linux/serial.h, remove these duplicated code in include/uapi/linux/serial_core.h which includes the former header. Acked-by: Jiri Slaby <[email protected]> Signed-off-by: Tiezhu Yang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 44c413d commit ea1be1e

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

include/uapi/linux/serial_core.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,6 @@
2626
/*
2727
* The type definitions. These are from Ted Ts'o's serial.h
2828
*/
29-
#define PORT_UNKNOWN 0
30-
#define PORT_8250 1
31-
#define PORT_16450 2
32-
#define PORT_16550 3
33-
#define PORT_16550A 4
34-
#define PORT_CIRRUS 5
35-
#define PORT_16650 6
36-
#define PORT_16650V2 7
37-
#define PORT_16750 8
38-
#define PORT_STARTECH 9
39-
#define PORT_16C950 10
40-
#define PORT_16654 11
41-
#define PORT_16850 12
42-
#define PORT_RSA 13
4329
#define PORT_NS16550A 14
4430
#define PORT_XSCALE 15
4531
#define PORT_RM9000 16 /* PMC-Sierra RM9xxx internal UART */

0 commit comments

Comments
 (0)