summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDong AiSheng <aisheng.dong@nxp.com>2018-08-28 14:31:54 +0800
committerJason Liu <jason.hui.liu@nxp.com>2018-10-29 11:10:38 +0800
commit1dfcf686212a8fb12a392db53447a9b6a2f974e2 (patch)
tree51e31f9a9533ebb4cdc08e0f144b1936315a9443 /include
parent8afc8c4e163a8cb57c5e3dc4636deff38e3ff1e3 (diff)
MLK-19351-1 can: flexcan: add can fd mode support
Add CAN FD protocol support which supports extended frames up to 64 bytes Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/can/rx-offload.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/can/rx-offload.h b/include/linux/can/rx-offload.h
index cb31683bbe15..c1e0f5e2d616 100644
--- a/include/linux/can/rx-offload.h
+++ b/include/linux/can/rx-offload.h
@@ -23,7 +23,7 @@
struct can_rx_offload {
struct net_device *dev;
- unsigned int (*mailbox_read)(struct can_rx_offload *offload, struct can_frame *cf,
+ unsigned int (*mailbox_read)(struct can_rx_offload *offload, struct canfd_frame *cf,
u32 *timestamp, unsigned int mb);
struct sk_buff_head skb_queue;