mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
This commit is contained in:
parent
a6f44cf9f5
commit
b0da3498c5
6 changed files with 5 additions and 14 deletions
|
|
@ -780,7 +780,7 @@ static int rsxx_pci_probe(struct pci_dev *dev,
|
|||
goto failed_enable;
|
||||
|
||||
pci_set_master(dev);
|
||||
pci_set_dma_max_seg_size(dev, RSXX_HW_BLK_SIZE);
|
||||
dma_set_max_seg_size(&dev->dev, RSXX_HW_BLK_SIZE);
|
||||
|
||||
st = pci_set_dma_mask(dev, DMA_BIT_MASK(64));
|
||||
if (st) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue