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 <[email protected]> Signed-off-by: Max Staudt <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent f8d6e9d commit ec5ad33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)