diff options
author | Romain Perier <romain.perier@collabora.com> | 2018-01-02 18:53:55 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-01-02 16:14:49 -0600 |
commit | 3203e1d96c894334a1aba74ad0cbc0e10c1822dc (patch) | |
tree | fc9c9a5f4f576c23560b598d5c87dd3ea50608ae /drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h | |
parent | 5b382431b978e3111678d44515f3b732a2998910 (diff) | |
download | blackbird-obmc-linux-3203e1d96c894334a1aba74ad0cbc0e10c1822dc.tar.gz blackbird-obmc-linux-3203e1d96c894334a1aba74ad0cbc0e10c1822dc.zip |
hinic: Replace PCI pool old API
The PCI pool API is deprecated. Replace the PCI pool old API by the
appropriate function with the DMA pool API.
Signed-off-by: Romain Perier <romain.perier@collabora.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h')
-rw-r--r-- | drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h b/drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h index b35583400cb6..23f8d39eab68 100644 --- a/drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h +++ b/drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h @@ -157,7 +157,7 @@ struct hinic_cmdq { struct hinic_cmdqs { struct hinic_hwif *hwif; - struct pci_pool *cmdq_buf_pool; + struct dma_pool *cmdq_buf_pool; struct hinic_wq *saved_wqs; |