diff options
Diffstat (limited to 'drivers/net/can/sja1000/sja1000.c')
-rw-r--r-- | drivers/net/can/sja1000/sja1000.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/sja1000/sja1000.c b/drivers/net/can/sja1000/sja1000.c index 345304d779b9..ace103a44833 100644 --- a/drivers/net/can/sja1000/sja1000.c +++ b/drivers/net/can/sja1000/sja1000.c | |||
@@ -567,6 +567,7 @@ struct net_device *alloc_sja1000dev(int sizeof_priv) | |||
567 | priv->can.bittiming_const = &sja1000_bittiming_const; | 567 | priv->can.bittiming_const = &sja1000_bittiming_const; |
568 | priv->can.do_set_bittiming = sja1000_set_bittiming; | 568 | priv->can.do_set_bittiming = sja1000_set_bittiming; |
569 | priv->can.do_set_mode = sja1000_set_mode; | 569 | priv->can.do_set_mode = sja1000_set_mode; |
570 | priv->can.ctrlmode_supported = CAN_CTRLMODE_3_SAMPLES; | ||
570 | 571 | ||
571 | if (sizeof_priv) | 572 | if (sizeof_priv) |
572 | priv->priv = (void *)priv + sizeof(struct sja1000_priv); | 573 | priv->priv = (void *)priv + sizeof(struct sja1000_priv); |