Add can_priv to intrepid_netdevice
For CAN network devices, the kernel expects struct can_priv as first member of netdev_priv. Signed-off-by: Christian Gabriel <ch_gabriel@web.de>pull/22/head
parent
4841b2863c
commit
b69aaf12ab
|
|
@ -108,6 +108,7 @@ struct intrepid_pending_tx_info {
|
|||
};
|
||||
|
||||
struct intrepid_netdevice {
|
||||
struct can_priv can;
|
||||
struct net_device *dev;
|
||||
spinlock_t lock;
|
||||
int is_stopped;
|
||||
|
|
|
|||
Loading…
Reference in New Issue