diff options
-rw-r--r-- | drivers/net/mlx4/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mlx4/main.c b/drivers/net/mlx4/main.c index 528f89b2cde3..3dd481e77f92 100644 --- a/drivers/net/mlx4/main.c +++ b/drivers/net/mlx4/main.c | |||
@@ -789,7 +789,7 @@ static int mlx4_init_hca(struct mlx4_dev *dev) | |||
789 | return 0; | 789 | return 0; |
790 | 790 | ||
791 | err_close: | 791 | err_close: |
792 | mlx4_close_hca(dev); | 792 | mlx4_CLOSE_HCA(dev, 0); |
793 | 793 | ||
794 | err_free_icm: | 794 | err_free_icm: |
795 | mlx4_free_icms(dev); | 795 | mlx4_free_icms(dev); |