Skip to content

Commit 47934ef

Browse files
Stefan-gabriel Mireagregkh
authored andcommitted
tty: serial: Fix PORT_LINFLEXUART definition
The port type macros should have different values for different devices. Currently, PORT_LINFLEXUART conflicts with PORT_SUNIX. Fixes: 09864c1 ("tty: serial: Add linflexuart driver for S32V234") Signed-off-by: Stefan-Gabriel Mirea <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 47a7e5e commit 47934ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/uapi/linux/serial_core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,6 @@
291291
#define PORT_SUNIX 121
292292

293293
/* Freescale Linflex UART */
294-
#define PORT_LINFLEXUART 121
294+
#define PORT_LINFLEXUART 122
295295

296296
#endif /* _UAPILINUX_SERIAL_CORE_H */

0 commit comments

Comments
 (0)