From 9d0bb72bb6c9d6391303ecf6ffb666fe4259fddb Mon Sep 17 00:00:00 2001 From: Oliver Hartkopp Date: Sun, 22 Nov 2020 18:15:35 +0100 Subject: [PATCH] cangw: update gw.h include to upstream uapi version https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=94c23097f991 Signed-off-by: Oliver Hartkopp --- include/linux/can/gw.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/can/gw.h b/include/linux/can/gw.h index c2190bb..e4f0957 100644 --- a/include/linux/can/gw.h +++ b/include/linux/can/gw.h @@ -98,8 +98,8 @@ enum { /* CAN frame elements that are affected by curr. 3 CAN frame modifications */ #define CGW_MOD_ID 0x01 -#define CGW_MOD_DLC 0x02 /* contains the data length in bytes */ -#define CGW_MOD_LEN CGW_MOD_DLC /* CAN FD length representation */ +#define CGW_MOD_DLC 0x02 /* Classical CAN data length code */ +#define CGW_MOD_LEN CGW_MOD_DLC /* CAN FD (plain) data length */ #define CGW_MOD_DATA 0x04 #define CGW_MOD_FLAGS 0x08 /* CAN FD flags */