diff options
Diffstat (limited to 'drivers/net/mlx4/en_netdev.c')
-rw-r--r-- | drivers/net/mlx4/en_netdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx4/en_netdev.c b/drivers/net/mlx4/en_netdev.c index 96180c0ec206..a0d8a26f5a02 100644 --- a/drivers/net/mlx4/en_netdev.c +++ b/drivers/net/mlx4/en_netdev.c | |||
@@ -961,6 +961,7 @@ int mlx4_en_init_netdev(struct mlx4_en_dev *mdev, int port, | |||
961 | } | 961 | } |
962 | 962 | ||
963 | SET_NETDEV_DEV(dev, &mdev->dev->pdev->dev); | 963 | SET_NETDEV_DEV(dev, &mdev->dev->pdev->dev); |
964 | dev->dev_id = port - 1; | ||
964 | 965 | ||
965 | /* | 966 | /* |
966 | * Initialize driver private data | 967 | * Initialize driver private data |