diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/can/ti_hecc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/ti_hecc.c b/drivers/net/can/ti_hecc.c index 0b19a17d8178..a81249246ece 100644 --- a/drivers/net/can/ti_hecc.c +++ b/drivers/net/can/ti_hecc.c | |||
@@ -923,6 +923,7 @@ static int ti_hecc_probe(struct platform_device *pdev) | |||
923 | priv->can.do_get_state = ti_hecc_get_state; | 923 | priv->can.do_get_state = ti_hecc_get_state; |
924 | priv->can.ctrlmode_supported = CAN_CTRLMODE_3_SAMPLES; | 924 | priv->can.ctrlmode_supported = CAN_CTRLMODE_3_SAMPLES; |
925 | 925 | ||
926 | spin_lock_init(&priv->mbx_lock); | ||
926 | ndev->irq = irq->start; | 927 | ndev->irq = irq->start; |
927 | ndev->flags |= IFF_ECHO; | 928 | ndev->flags |= IFF_ECHO; |
928 | platform_set_drvdata(pdev, ndev); | 929 | platform_set_drvdata(pdev, ndev); |