aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/pci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 740fb4ea9669..9afad0faa9b6 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -2294,21 +2294,17 @@ void pci_msi_off(struct pci_dev *dev)
2294} 2294}
2295EXPORT_SYMBOL_GPL(pci_msi_off); 2295EXPORT_SYMBOL_GPL(pci_msi_off);
2296 2296
2297#ifndef HAVE_ARCH_PCI_SET_DMA_MAX_SEGMENT_SIZE
2298int pci_set_dma_max_seg_size(struct pci_dev *dev, unsigned int size) 2297int pci_set_dma_max_seg_size(struct pci_dev *dev, unsigned int size)
2299{ 2298{
2300 return dma_set_max_seg_size(&dev->dev, size); 2299 return dma_set_max_seg_size(&dev->dev, size);
2301} 2300}
2302EXPORT_SYMBOL(pci_set_dma_max_seg_size); 2301EXPORT_SYMBOL(pci_set_dma_max_seg_size);
2303#endif
2304 2302
2305#ifndef HAVE_ARCH_PCI_SET_DMA_SEGMENT_BOUNDARY
2306int pci_set_dma_seg_boundary(struct pci_dev *dev, unsigned long mask) 2303int pci_set_dma_seg_boundary(struct pci_dev *dev, unsigned long mask)
2307{ 2304{
2308 return dma_set_seg_boundary(&dev->dev, mask); 2305 return dma_set_seg_boundary(&dev->dev, mask);
2309} 2306}
2310EXPORT_SYMBOL(pci_set_dma_seg_boundary); 2307EXPORT_SYMBOL(pci_set_dma_seg_boundary);
2311#endif
2312 2308
2313static int pcie_flr(struct pci_dev *dev, int probe) 2309static int pcie_flr(struct pci_dev *dev, int probe)
2314{ 2310{