mirror of
https://github.com/intrepidcs/intrepid-socketcan-kernel-module.git
synced 2026-08-05 01:18:37 +02:00
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>
This commit is contained in:
committed by
Kyle Schwarz
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;
|
||||
|
||||
Reference in New Issue
Block a user