summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2021-06-10 19:06:08 +0300
committerBjorn Helgaas <bhelgaas@google.com>2021-06-11 02:01:41 +0300
commit7e2faa1710c408712185bb6463eaa0ee4776350f (patch)
treefc9785d7c11cf9832e64512c1376bad0bc4f5c53 /drivers/fpga/fpga-mgr.c
parentcf201bfe8cdc9ba11c4f312945b908ed24c7b7b5 (diff)
downloadlinux-7e2faa1710c408712185bb6463eaa0ee4776350f.tar.xz
PCI/P2PDMA: Refactor pci_p2pdma_map_type()
All callers of pci_p2pdma_map_type() have a struct dev_pgmap and a struct device (of the client doing the DMA transfer). Thus move the conversion to struct pci_devs for the provider and client into this function. Link: https://lore.kernel.org/r/20210610160609.28447-6-logang@deltatee.com Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions