summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/sja1000/ems_pcmcia.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/can/sja1000/ems_pcmcia.c')
-rw-r--r--drivers/net/can/sja1000/ems_pcmcia.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/sja1000/ems_pcmcia.c b/drivers/net/can/sja1000/ems_pcmcia.c
index 9e535f2ef52..381de998d2f 100644
--- a/drivers/net/can/sja1000/ems_pcmcia.c
+++ b/drivers/net/can/sja1000/ems_pcmcia.c
@@ -211,6 +211,7 @@ static int ems_pcmcia_add_card(struct pcmcia_device *pdev, unsigned long base)
priv = netdev_priv(dev);
priv->priv = card;
SET_NETDEV_DEV(dev, &pdev->dev);
+ dev->dev_id = i;
priv->irq_flags = IRQF_SHARED;
dev->irq = pdev->irq;