diff options
author | Romain Perier <romain.perier@collabora.com> | 2017-08-22 13:46:58 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-22 13:59:46 -0400 |
commit | b9f761aa78126d0937f6ab38d04aec4f9fcce1df (patch) | |
tree | 98907e787b40830a9f466eade4dabd627af48c1a /drivers/net/ethernet/mellanox/mlx4/mlx4.h | |
parent | 11880a5512ac51b9326507df9acc42a8bd13e2b7 (diff) | |
download | linux-b9f761aa78126d0937f6ab38d04aec4f9fcce1df.tar.bz2 |
mlx4: Replace PCI pool old API
The PCI pool API is deprecated. This commit replaces the PCI pool old
API by the appropriate function with the DMA pool API.
Signed-off-by: Romain Perier <romain.perier@collabora.com>
Acked-by: Peter Senna Tschudin <peter.senna@collabora.com>
Tested-by: Peter Senna Tschudin <peter.senna@collabora.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Acked-by: Doug Ledford <dledford@redhat.com>
Tested-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/mlx4.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/mlx4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4.h b/drivers/net/ethernet/mellanox/mlx4/mlx4.h index 706d7f21ac5c..852d00a5b016 100644 --- a/drivers/net/ethernet/mellanox/mlx4/mlx4.h +++ b/drivers/net/ethernet/mellanox/mlx4/mlx4.h @@ -626,7 +626,7 @@ struct mlx4_mgm { }; struct mlx4_cmd { - struct pci_pool *pool; + struct dma_pool *pool; void __iomem *hcr; struct mutex slave_cmd_mutex; struct semaphore poll_sem; |