aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-10-09 16:08:24 +0200
committerBjorn Helgaas <bhelgaas@google.com>2018-10-10 15:47:00 -0500
commitb0da3498c587c20e64799c4c7ba65a31314b2182 (patch)
treeaef8d2ed69436c93648a53049b8e99537cbec98b /drivers/s390
parentPCI: Remove pci_set_dma_seg_boundary() (diff)
downloadlinux-dev-b0da3498c587c20e64799c4c7ba65a31314b2182.tar.xz
linux-dev-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/s390')
-rw-r--r--drivers/s390/net/ism_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/ism_drv.c b/drivers/s390/net/ism_drv.c
index 8688c0fff761..f96ec68af2e5 100644
--- a/drivers/s390/net/ism_drv.c
+++ b/drivers/s390/net/ism_drv.c
@@ -516,7 +516,7 @@ static int ism_probe(struct pci_dev *pdev, const struct pci_device_id *id)
goto err_unmap;
dma_set_seg_boundary(&pdev->dev, SZ_1M - 1);
- pci_set_dma_max_seg_size(pdev, SZ_1M);
+ dma_set_max_seg_size(&pdev->dev, SZ_1M);
pci_set_master(pdev);
ism->smcd = smcd_alloc_dev(&pdev->dev, dev_name(&pdev->dev), &ism_ops,