Skip to content

Commit ec5ad33

Browse files
Max Staudtgregkh
authored andcommitted
tty: Add N_CAN327 line discipline ID for ELM327 based CAN driver
The actual driver will be added via the CAN tree. Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Max Staudt <max@enpas.org> Link: https://lore.kernel.org/r/20220618180134.9890-1-max@enpas.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f8d6e9d commit ec5ad33

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/uapi/linux/tty.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@
3838
#define N_NULL 27 /* Null ldisc used for error handling */
3939
#define N_MCTP 28 /* MCTP-over-serial */
4040
#define N_DEVELOPMENT 29 /* Manual out-of-tree testing */
41+
#define N_CAN327 30 /* ELM327 based OBD-II interfaces */
4142

4243
/* Always the newest line discipline + 1 */
43-
#define NR_LDISCS 30
44+
#define NR_LDISCS 31
4445

4546
#endif /* _UAPI_LINUX_TTY_H */

0 commit comments

Comments
 (0)