can: dev: add can_is_canfd_skb() API
authorDong Aisheng <b29396@freescale.com>
Fri, 7 Nov 2014 08:45:12 +0000 (16:45 +0800)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 18 Nov 2014 12:23:31 +0000 (13:23 +0100)
commit98e69016a11b2b9398bea668442193b3b362cd43
treec37f796c64213c3b024c39298663d4281e0fb61e
parent67b5909edccfe3ea3b85b1d96284d2c53e3fd47c
can: dev: add can_is_canfd_skb() API

The CAN device drivers can use can_is_canfd_skb() to check if the frame to send
is on CAN FD mode or normal CAN mode.

Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
include/linux/can/dev.h