diff options
author | Yinghai Lu <yinghai@kernel.org> | 2012-02-16 00:40:31 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2012-02-24 17:37:26 -0500 |
commit | 2069ecfbe14ebd71a6f98e8a00724e9adf4fe4ee (patch) | |
tree | 5a0328d6e545a6488e85face05b0a4d78676bedf /drivers/pci/pci.h | |
parent | 8474ecd9231434d71a39cd1ba118629e1b036137 (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.h | 5 |
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 | 231 | void pci_reassigndev_resource_alignment(struct pci_dev *dev); |
232 | extern int pci_is_reassigndev(struct pci_dev *dev); | ||
233 | resource_size_t pci_specified_resource_alignment(struct pci_dev *dev); | ||
234 | extern void pci_disable_bridge_window(struct pci_dev *dev); | 232 | extern 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 */ |
238 | struct pci_sriov { | 235 | struct pci_sriov { |