aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-02-16 00:40:31 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-02-24 17:37:26 -0500
commit2069ecfbe14ebd71a6f98e8a00724e9adf4fe4ee (patch)
tree5a0328d6e545a6488e85face05b0a4d78676bedf /drivers/pci/pci.h
parent8474ecd9231434d71a39cd1ba118629e1b036137 (diff)
PCI: Move "pci reassigndev resource alignment" out of quirks.c
This isn't really a quirk; calling it directly from pci_add_device makes more sense. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r--drivers/pci/pci.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index 1fc63b39f83f..e4943479b234 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -228,11 +228,8 @@ static inline int pci_ari_enabled(struct pci_bus *bus)
228 return bus->self && bus->self->ari_enabled; 228 return bus->self && bus->self->ari_enabled;
229} 229}
230 230
231#ifdef CONFIG_PCI_QUIRKS 231void pci_reassigndev_resource_alignment(struct pci_dev *dev);
232extern int pci_is_reassigndev(struct pci_dev *dev);
233resource_size_t pci_specified_resource_alignment(struct pci_dev *dev);
234extern void pci_disable_bridge_window(struct pci_dev *dev); 232extern void pci_disable_bridge_window(struct pci_dev *dev);
235#endif
236 233
237/* Single Root I/O Virtualization */ 234/* Single Root I/O Virtualization */
238struct pci_sriov { 235struct pci_sriov {