aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can/at91_can.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/can/at91_can.c')
-rw-r--r--drivers/net/can/at91_can.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/at91_can.c b/drivers/net/can/at91_can.c
index 693d8ffe4653..cf0f63e14e53 100644
--- a/drivers/net/can/at91_can.c
+++ b/drivers/net/can/at91_can.c
@@ -1347,7 +1347,7 @@ static int at91_can_probe(struct platform_device *pdev)
1347 priv->reg_base = addr; 1347 priv->reg_base = addr;
1348 priv->devtype_data = *devtype_data; 1348 priv->devtype_data = *devtype_data;
1349 priv->clk = clk; 1349 priv->clk = clk;
1350 priv->pdata = pdev->dev.platform_data; 1350 priv->pdata = dev_get_platdata(&pdev->dev);
1351 priv->mb0_id = 0x7ff; 1351 priv->mb0_id = 0x7ff;
1352 1352
1353 netif_napi_add(dev, &priv->napi, at91_poll, get_mb_rx_num(priv)); 1353 netif_napi_add(dev, &priv->napi, at91_poll, get_mb_rx_num(priv));