diff options
Diffstat (limited to 'drivers/net/can/sja1000/kvaser_pci.c')
-rw-r--r-- | drivers/net/can/sja1000/kvaser_pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/sja1000/kvaser_pci.c b/drivers/net/can/sja1000/kvaser_pci.c index c96eb14699d5..23b8e1324e25 100644 --- a/drivers/net/can/sja1000/kvaser_pci.c +++ b/drivers/net/can/sja1000/kvaser_pci.c | |||
@@ -270,6 +270,7 @@ static int kvaser_pci_add_chan(struct pci_dev *pdev, int channel, | |||
270 | priv->reg_base, board->conf_addr, dev->irq); | 270 | priv->reg_base, board->conf_addr, dev->irq); |
271 | 271 | ||
272 | SET_NETDEV_DEV(dev, &pdev->dev); | 272 | SET_NETDEV_DEV(dev, &pdev->dev); |
273 | dev->dev_id = channel; | ||
273 | 274 | ||
274 | /* Register SJA1000 device */ | 275 | /* Register SJA1000 device */ |
275 | err = register_sja1000dev(dev); | 276 | err = register_sja1000dev(dev); |