summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorStefan-gabriel Mirea <stefan-gabriel.mirea@nxp.com>2019-10-04 16:51:13 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-04 16:57:51 +0300
commit47934ef7f1883209120781b59d78eaf8b83e2fb7 (patch)
tree6f1aef0a2c7d48681b7743e42a0e79522cf1dcc8 /include/uapi/linux
parent47a7e5e97d4edd7b14974d34f0e5a5560fad2915 (diff)
downloadlinux-47934ef7f1883209120781b59d78eaf8b83e2fb7.tar.xz
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: 09864c1cdf5c ("tty: serial: Add linflexuart driver for S32V234") Signed-off-by: Stefan-Gabriel Mirea <stefan-gabriel.mirea@nxp.com> Link: https://lore.kernel.org/r/20191004135058.18007-1-stefan-gabriel.mirea@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/serial_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/serial_core.h b/include/uapi/linux/serial_core.h
index 0f4f87a6fd54..e7fe550b6038 100644
--- a/include/uapi/linux/serial_core.h
+++ b/include/uapi/linux/serial_core.h
@@ -291,6 +291,6 @@
#define PORT_SUNIX 121
/* Freescale Linflex UART */
-#define PORT_LINFLEXUART 121
+#define PORT_LINFLEXUART 122
#endif /* _UAPILINUX_SERIAL_CORE_H */