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
Christian Gabriel 2024-03-09 11:28:17 +01:00 committed by Kyle Schwarz
parent 4841b2863c
commit b69aaf12ab
1 changed files with 1 additions and 0 deletions

View File

@ -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;