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:
Christian Gabriel
2024-07-23 15:21:43 -04:00
committed by Kyle Schwarz
parent 4841b2863c
commit b69aaf12ab
+1
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;