aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-10-13 13:04:40 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-10-13 13:04:40 -0400
commit80fa680d22c11912a0be84b8139422eba1327322 (patch)
treea43e38d55505dab7b3448a210d88238b80c50d91 /drivers/pci/pci.c
parent2caa731819a633bec5a56736e64c562b7e193666 (diff)
parent9a821b231644028f8e2a853eb33d1184e925b183 (diff)
Merge git://git.infradead.org/~dwmw2/iommu-2.6.32
* git://git.infradead.org/~dwmw2/iommu-2.6.32: x86: Move pci_iommu_init to rootfs_initcall() Run pci_apply_final_quirks() sooner. Mark pci_apply_final_quirks() __init rather than __devinit Rename pci_init() to pci_apply_final_quirks(), move it to quirks.c intel-iommu: Yet another BIOS workaround: Isoch DMAR unit with no TLB space intel-iommu: Decode (and ignore) RHSA entries intel-iommu: Make "Unknown DMAR structure" message more informative
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r--drivers/pci/pci.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 3835871f4832..4e4c295a049f 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -2723,17 +2723,6 @@ int __attribute__ ((weak)) pci_ext_cfg_avail(struct pci_dev *dev)
2723 return 1; 2723 return 1;
2724} 2724}
2725 2725
2726static int __devinit pci_init(void)
2727{
2728 struct pci_dev *dev = NULL;
2729
2730 while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
2731 pci_fixup_device(pci_fixup_final, dev);
2732 }
2733
2734 return 0;
2735}
2736
2737static int __init pci_setup(char *str) 2726static int __init pci_setup(char *str)
2738{ 2727{
2739 while (str) { 2728 while (str) {
@@ -2771,8 +2760,6 @@ static int __init pci_setup(char *str)
2771} 2760}
2772early_param("pci", pci_setup); 2761early_param("pci", pci_setup);
2773 2762
2774device_initcall(pci_init);
2775
2776EXPORT_SYMBOL(pci_reenable_device); 2763EXPORT_SYMBOL(pci_reenable_device);
2777EXPORT_SYMBOL(pci_enable_device_io); 2764EXPORT_SYMBOL(pci_enable_device_io);
2778EXPORT_SYMBOL(pci_enable_device_mem); 2765EXPORT_SYMBOL(pci_enable_device_mem);