diff options
Diffstat (limited to 'drivers/infiniband/hw/mlx4/main.c')
-rw-r--r-- | drivers/infiniband/hw/mlx4/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c index ca522382dedc..2ed5b996b2f4 100644 --- a/drivers/infiniband/hw/mlx4/main.c +++ b/drivers/infiniband/hw/mlx4/main.c | |||
@@ -2153,6 +2153,7 @@ static void *mlx4_ib_add(struct mlx4_dev *dev) | |||
2153 | MLX4_INIT_DOORBELL_LOCK(&ibdev->uar_lock); | 2153 | MLX4_INIT_DOORBELL_LOCK(&ibdev->uar_lock); |
2154 | 2154 | ||
2155 | ibdev->dev = dev; | 2155 | ibdev->dev = dev; |
2156 | ibdev->bond_next_port = 0; | ||
2156 | 2157 | ||
2157 | strlcpy(ibdev->ib_dev.name, "mlx4_%d", IB_DEVICE_NAME_MAX); | 2158 | strlcpy(ibdev->ib_dev.name, "mlx4_%d", IB_DEVICE_NAME_MAX); |
2158 | ibdev->ib_dev.owner = THIS_MODULE; | 2159 | ibdev->ib_dev.owner = THIS_MODULE; |