diff options
author | David S. Miller <davem@davemloft.net> | 2014-12-10 00:49:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-10 00:49:00 +0300 |
commit | 602de7ead5a4c02c2a3fe17b24a67f894cbffaba (patch) | |
tree | 05c8ff9b2d47d2b7a4d1f70e11fc4e68cc65b036 /include/linux/can/dev.h | |
parent | 605ad7f184b60cfaacbc038aa6c55ee68dee3c89 (diff) | |
parent | 71a3aedce6b37318d0e38676681dff179ec42874 (diff) | |
download | linux-602de7ead5a4c02c2a3fe17b24a67f894cbffaba.tar.xz |
Merge tag 'linux-can-next-for-3.19-20141207' of git://gitorious.org/linux-can/linux-can-next
Marc Kleine-Budde says:
====================
pull-request: can-next 2014-12-07
this is a pull request of 8 patches for net-next/master.
Andri Yngvason contributes 4 patches in which the CAN state change
handling is consolidated and unified among the sja1000, mscan and
flexcan driver. The three patches by Jeremiah Mahler fix spelling
mistakes and eliminate the banner[] variable in various parts. And a
patch by me that switches on sparse endianess checking by default.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/can/dev.h')
-rw-r--r-- | include/linux/can/dev.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/can/dev.h b/include/linux/can/dev.h index b37ea95bc348..c05ff0f9f9a5 100644 --- a/include/linux/can/dev.h +++ b/include/linux/can/dev.h @@ -127,6 +127,9 @@ void unregister_candev(struct net_device *dev); int can_restart_now(struct net_device *dev); void can_bus_off(struct net_device *dev); +void can_change_state(struct net_device *dev, struct can_frame *cf, + enum can_state tx_state, enum can_state rx_state); + void can_put_echo_skb(struct sk_buff *skb, struct net_device *dev, unsigned int idx); unsigned int can_get_echo_skb(struct net_device *dev, unsigned int idx); |