diff options
Diffstat (limited to 'include/linux')
| -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 7747d9bcdc84..fb0ab651a041 100644 --- a/include/linux/can/dev.h +++ b/include/linux/can/dev.h | |||
| @@ -106,6 +106,9 @@ u8 can_len2dlc(u8 len); | |||
| 106 | struct net_device *alloc_candev(int sizeof_priv, unsigned int echo_skb_max); | 106 | struct net_device *alloc_candev(int sizeof_priv, unsigned int echo_skb_max); |
| 107 | void free_candev(struct net_device *dev); | 107 | void free_candev(struct net_device *dev); |
| 108 | 108 | ||
| 109 | /* a candev safe wrapper around netdev_priv */ | ||
| 110 | struct can_priv *safe_candev_priv(struct net_device *dev); | ||
| 111 | |||
| 109 | int open_candev(struct net_device *dev); | 112 | int open_candev(struct net_device *dev); |
| 110 | void close_candev(struct net_device *dev); | 113 | void close_candev(struct net_device *dev); |
| 111 | 114 | ||
