diff options
Diffstat (limited to 'include/linux/can')
| -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 5261751f6bd4..5f5270941ba0 100644 --- a/include/linux/can/dev.h +++ b/include/linux/can/dev.h | |||
| @@ -32,6 +32,7 @@ enum can_mode { | |||
| 32 | * CAN common private data | 32 | * CAN common private data |
| 33 | */ | 33 | */ |
| 34 | struct can_priv { | 34 | struct can_priv { |
| 35 | struct net_device *dev; | ||
| 35 | struct can_device_stats can_stats; | 36 | struct can_device_stats can_stats; |
| 36 | 37 | ||
| 37 | struct can_bittiming bittiming, data_bittiming; | 38 | struct can_bittiming bittiming, data_bittiming; |
| @@ -47,7 +48,7 @@ struct can_priv { | |||
| 47 | u32 ctrlmode_static; /* static enabled options for driver/hardware */ | 48 | u32 ctrlmode_static; /* static enabled options for driver/hardware */ |
| 48 | 49 | ||
| 49 | int restart_ms; | 50 | int restart_ms; |
| 50 | struct timer_list restart_timer; | 51 | struct delayed_work restart_work; |
| 51 | 52 | ||
| 52 | int (*do_set_bittiming)(struct net_device *dev); | 53 | int (*do_set_bittiming)(struct net_device *dev); |
| 53 | int (*do_set_data_bittiming)(struct net_device *dev); | 54 | int (*do_set_data_bittiming)(struct net_device *dev); |
