aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2014-09-17 12:41:13 -0400
committerBjorn Helgaas <bhelgaas@google.com>2014-09-22 16:48:32 -0400
commit5d8f4c9fdd67404c9f94683836e49ec8bded2287 (patch)
treeb9d415aac6a326e481ff62270a3fe2fb6b7137c5 /include/linux/pci.h
parentbee3f304435a9c8c70b135083e23516872a17c98 (diff)
PCI: Remove unused pci_get_dma_source()
pci_get_dma_source() is unused, so remove it. We now have dma_alias_devfn() to describe this. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index bf5a47c0cb42..d68d8e33c196 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1557,16 +1557,11 @@ enum pci_fixup_pass {
1557 1557
1558#ifdef CONFIG_PCI_QUIRKS 1558#ifdef CONFIG_PCI_QUIRKS
1559void pci_fixup_device(enum pci_fixup_pass pass, struct pci_dev *dev); 1559void pci_fixup_device(enum pci_fixup_pass pass, struct pci_dev *dev);
1560struct pci_dev *pci_get_dma_source(struct pci_dev *dev);
1561int pci_dev_specific_acs_enabled(struct pci_dev *dev, u16 acs_flags); 1560int pci_dev_specific_acs_enabled(struct pci_dev *dev, u16 acs_flags);
1562void pci_dev_specific_enable_acs(struct pci_dev *dev); 1561void pci_dev_specific_enable_acs(struct pci_dev *dev);
1563#else 1562#else
1564static inline void pci_fixup_device(enum pci_fixup_pass pass, 1563static inline void pci_fixup_device(enum pci_fixup_pass pass,
1565 struct pci_dev *dev) { } 1564 struct pci_dev *dev) { }
1566static inline struct pci_dev *pci_get_dma_source(struct pci_dev *dev)
1567{
1568 return pci_dev_get(dev);
1569}
1570static inline int pci_dev_specific_acs_enabled(struct pci_dev *dev, 1565static inline int pci_dev_specific_acs_enabled(struct pci_dev *dev,
1571 u16 acs_flags) 1566 u16 acs_flags)
1572{ 1567{