Message ID | 201107281059.50171.dotanb@sw.voltaire.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/net/mlx4/eq.c b/drivers/net/mlx4/eq.c index 7aecc34..31177ce 100644 --- a/drivers/net/mlx4/eq.c +++ b/drivers/net/mlx4/eq.c @@ -489,7 +489,7 @@ static void mlx4_free_eq(struct mlx4_dev *dev, mlx4_mtt_cleanup(dev, &eq->mtt); for (i = 0; i < npages; ++i) - pci_free_consistent(dev->pdev, PAGE_SIZE, + dma_free_coherent(&dev->pdev->dev, PAGE_SIZE, eq->page_list[i].buf, eq->page_list[i].map);