mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
PCI: Remove pci_set_dma_seg_boundary()
The two callers can just use dma_set_seg_boundary() directly. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
This commit is contained in:
parent
18b01b16e8
commit
a6f44cf9f5
3 changed files with 2 additions and 11 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue