diff options
Diffstat (limited to 'include/linux/can/dev.h')
-rw-r--r-- | include/linux/can/dev.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/can/dev.h b/include/linux/can/dev.h index 5e13b987d9e2..678e97fa3869 100644 --- a/include/linux/can/dev.h +++ b/include/linux/can/dev.h | |||
@@ -31,6 +31,7 @@ enum can_mode { | |||
31 | * CAN common private data | 31 | * CAN common private data |
32 | */ | 32 | */ |
33 | struct can_priv { | 33 | struct can_priv { |
34 | struct net_device *dev; | ||
34 | struct can_device_stats can_stats; | 35 | struct can_device_stats can_stats; |
35 | 36 | ||
36 | struct can_bittiming bittiming, data_bittiming; | 37 | struct can_bittiming bittiming, data_bittiming; |
@@ -46,7 +47,7 @@ struct can_priv { | |||
46 | u32 ctrlmode_static; /* static enabled options for driver/hardware */ | 47 | u32 ctrlmode_static; /* static enabled options for driver/hardware */ |
47 | 48 | ||
48 | int restart_ms; | 49 | int restart_ms; |
49 | struct timer_list restart_timer; | 50 | struct delayed_work restart_work; |
50 | 51 | ||
51 | int (*do_set_bittiming)(struct net_device *dev); | 52 | int (*do_set_bittiming)(struct net_device *dev); |
52 | int (*do_set_data_bittiming)(struct net_device *dev); | 53 | int (*do_set_data_bittiming)(struct net_device *dev); |