diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-06-18 14:14:10 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-06-18 14:14:10 -0400 |
commit | e822a007047fb84cd068bfa35a682015e0fe19b9 (patch) | |
tree | b66b7b149eebbab4db862a0c75eb0c3b25d76493 /arch/alpha/kernel | |
parent | 47fcb6da65e9e74f71f4ec68f1245fc600bec711 (diff) | |
parent | bb15d8db7cce766b62cab624120916d25e94ac7a (diff) |
Merge branch 'topic/sebastian-devinit-fixups' into next
* topic/sebastian-devinit-fixups:
scripts/modpost: check for bad references in .pci.fixups area
sh/PCI: move fixup hooks from __init to __devinit
powerpc/PCI: move fixup hooks from __init to __devinit
frv/PCI: move fixup hooks from __init to __devinit
arm/PCI: move fixup hooks from __init to __devinit
alpha/PCI: move fixup hooks from __init to __devinit
PCI: move fixup hooks from __init to __devinit
x86/PCI: move fixup hooks from __init to __devinit
Diffstat (limited to 'arch/alpha/kernel')
-rw-r--r-- | arch/alpha/kernel/pci.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/alpha/kernel/pci.c b/arch/alpha/kernel/pci.c index 53229a496311..71efc1a5de7e 100644 --- a/arch/alpha/kernel/pci.c +++ b/arch/alpha/kernel/pci.c | |||
@@ -59,15 +59,13 @@ struct pci_controller *pci_isa_hose; | |||
59 | * Quirks. | 59 | * Quirks. |
60 | */ | 60 | */ |
61 | 61 | ||
62 | static void __init | 62 | static void __devinit quirk_isa_bridge(struct pci_dev *dev) |
63 | quirk_isa_bridge(struct pci_dev *dev) | ||
64 | { | 63 | { |
65 | dev->class = PCI_CLASS_BRIDGE_ISA << 8; | 64 | dev->class = PCI_CLASS_BRIDGE_ISA << 8; |
66 | } | 65 | } |
67 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82378, quirk_isa_bridge); | 66 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82378, quirk_isa_bridge); |
68 | 67 | ||
69 | static void __init | 68 | static void __devinit quirk_cypress(struct pci_dev *dev) |
70 | quirk_cypress(struct pci_dev *dev) | ||
71 | { | 69 | { |
72 | /* The Notorious Cy82C693 chip. */ | 70 | /* The Notorious Cy82C693 chip. */ |
73 | 71 | ||
@@ -106,8 +104,7 @@ quirk_cypress(struct pci_dev *dev) | |||
106 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_CONTAQ, PCI_DEVICE_ID_CONTAQ_82C693, quirk_cypress); | 104 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_CONTAQ, PCI_DEVICE_ID_CONTAQ_82C693, quirk_cypress); |
107 | 105 | ||
108 | /* Called for each device after PCI setup is done. */ | 106 | /* Called for each device after PCI setup is done. */ |
109 | static void __init | 107 | static void __devinit pcibios_fixup_final(struct pci_dev *dev) |
110 | pcibios_fixup_final(struct pci_dev *dev) | ||
111 | { | 108 | { |
112 | unsigned int class = dev->class >> 8; | 109 | unsigned int class = dev->class >> 8; |
113 | 110 | ||