diff options
author | Christoph Hellwig <hch@lst.de> | 2018-10-09 16:08:24 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-10-10 22:47:00 +0200 |
commit | b0da3498c587c20e64799c4c7ba65a31314b2182 (patch) | |
tree | aef8d2ed69436c93648a53049b8e99537cbec98b /drivers/pci/probe.c | |
parent | PCI: Remove pci_set_dma_seg_boundary() (diff) | |
download | linux-b0da3498c587c20e64799c4c7ba65a31314b2182.tar.xz linux-b0da3498c587c20e64799c4c7ba65a31314b2182.zip |
PCI: Remove pci_set_dma_max_seg_size()
The few callers can just use dma_set_max_seg_size ()directly.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r-- | drivers/pci/probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 72dd926680be..75d896549360 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -2397,7 +2397,7 @@ void pci_device_add(struct pci_dev *dev, struct pci_bus *bus) dev->dev.dma_parms = &dev->dma_parms; dev->dev.coherent_dma_mask = 0xffffffffull; - pci_set_dma_max_seg_size(dev, 65536); + dma_set_max_seg_size(&dev->dev, 65536); dma_set_seg_boundary(&dev->dev, 0xffffffff); /* Fix up broken headers */ |