diff options
author | Christoph Hellwig <hch@lst.de> | 2018-10-09 16:08:23 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-10-10 15:46:47 -0500 |
commit | a6f44cf9f5cc60471cf06f3d5391fc6041eb37a5 (patch) | |
tree | 1b7f35899fde28aa1122e5be820ad887875834ab /drivers/pci/probe.c | |
parent | 18b01b16e8bae9cd227909f6e6d2783d74855f65 (diff) | |
download | lwn-a6f44cf9f5cc60471cf06f3d5391fc6041eb37a5.tar.gz lwn-a6f44cf9f5cc60471cf06f3d5391fc6041eb37a5.zip |
PCI: Remove pci_set_dma_seg_boundary()
The two callers can just use dma_set_seg_boundary() 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 7c422ccbf9b4..72dd926680be 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -2398,7 +2398,7 @@ void pci_device_add(struct pci_dev *dev, struct pci_bus *bus) dev->dev.coherent_dma_mask = 0xffffffffull; pci_set_dma_max_seg_size(dev, 65536); - pci_set_dma_seg_boundary(dev, 0xffffffff); + dma_set_seg_boundary(&dev->dev, 0xffffffff); /* Fix up broken headers */ pci_fixup_device(pci_fixup_header, dev); |