summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-10-09 16:08:23 +0200
committerBjorn Helgaas <bhelgaas@google.com>2018-10-10 15:46:47 -0500
commita6f44cf9f5cc60471cf06f3d5391fc6041eb37a5 (patch)
tree1b7f35899fde28aa1122e5be820ad887875834ab /drivers/s390
parent18b01b16e8bae9cd227909f6e6d2783d74855f65 (diff)
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/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 c0631895154e..8688c0fff761 100644
--- a/drivers/s390/net/ism_drv.c
+++ b/drivers/s390/net/ism_drv.c
@@ -515,7 +515,7 @@ static int ism_probe(struct pci_dev *pdev, const struct pci_device_id *id)
if (ret)
goto err_unmap;
- pci_set_dma_seg_boundary(pdev, SZ_1M - 1);
+ dma_set_seg_boundary(&pdev->dev, SZ_1M - 1);
pci_set_dma_max_seg_size(pdev, SZ_1M);
pci_set_master(pdev);