diff options
author | Christoph Hellwig <hch@lst.de> | 2018-10-09 16:08:22 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-10-10 22:45:45 +0200 |
commit | 18b01b16e8bae9cd227909f6e6d2783d74855f65 (patch) | |
tree | 0966d6744d7cfb16699ea4f1d6ac23bb9910f4b8 /drivers/infiniband/hw/cxgb4/t4.h | |
parent | PCI / ACPI: Mark expected switch fall-through (diff) | |
download | linux-18b01b16e8bae9cd227909f6e6d2783d74855f65.tar.xz linux-18b01b16e8bae9cd227909f6e6d2783d74855f65.zip |
PCI: Remove pci_unmap_addr() wrappers for DMA API
Only some of these were still used by the cxgb4 driver, and that despite
the fact that the driver otherwise uses the generic DMA API.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/t4.h')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/t4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/t4.h b/drivers/infiniband/hw/cxgb4/t4.h index e42021fd6fd6..fff6d48d262f 100644 --- a/drivers/infiniband/hw/cxgb4/t4.h +++ b/drivers/infiniband/hw/cxgb4/t4.h @@ -397,7 +397,7 @@ struct t4_srq_pending_wr { struct t4_srq { union t4_recv_wr *queue; dma_addr_t dma_addr; - DECLARE_PCI_UNMAP_ADDR(mapping); + DEFINE_DMA_UNMAP_ADDR(mapping); struct t4_swrqe *sw_rq; void __iomem *bar2_va; u64 bar2_pa; |