diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2012-09-17 07:22:54 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-09-18 19:28:21 -0400 |
commit | 8885b7b637fa9aca7e1b00581a0173c6956966d3 (patch) | |
tree | 68511ba698f6837498a9ed0a18d312039cb89e5f /arch/m68k/kernel | |
parent | 3ddbebf878ac8d958bb34e87a742a6b3adc283a3 (diff) |
PCI: Provide a default pcibios_update_irq()
Most architectures implement this in exactly the same way. Instead of
having each architecture duplicate this function, provide a single
implementation in the core and make it a weak symbol so that it can be
overridden on architectures where it is required.
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/m68k/kernel')
-rw-r--r-- | arch/m68k/kernel/pcibios.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/m68k/kernel/pcibios.c b/arch/m68k/kernel/pcibios.c index b2988aa1840b..73fa0b56a06c 100644 --- a/arch/m68k/kernel/pcibios.c +++ b/arch/m68k/kernel/pcibios.c | |||
@@ -87,11 +87,6 @@ int pcibios_enable_device(struct pci_dev *dev, int mask) | |||
87 | return 0; | 87 | return 0; |
88 | } | 88 | } |
89 | 89 | ||
90 | void pcibios_update_irq(struct pci_dev *dev, int irq) | ||
91 | { | ||
92 | pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq); | ||
93 | } | ||
94 | |||
95 | void __devinit pcibios_fixup_bus(struct pci_bus *bus) | 90 | void __devinit pcibios_fixup_bus(struct pci_bus *bus) |
96 | { | 91 | { |
97 | struct pci_dev *dev; | 92 | struct pci_dev *dev; |