summaryrefslogtreecommitdiff
path: root/arch/mips/pci
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2012-09-17 13:22:53 +0200
committerBjorn Helgaas <bhelgaas@google.com>2012-09-18 17:22:25 -0600
commit3ddbebf878ac8d958bb34e87a742a6b3adc283a3 (patch)
tree6b398c32ec6b9f29e8daa0bc9c509ea5e17fba7e /arch/mips/pci
parent55d512e245bc7699a8800e23df1a24195dd08217 (diff)
downloadlinux-3.10-3ddbebf878ac8d958bb34e87a742a6b3adc283a3.tar.gz
linux-3.10-3ddbebf878ac8d958bb34e87a742a6b3adc283a3.tar.bz2
linux-3.10-3ddbebf878ac8d958bb34e87a742a6b3adc283a3.zip
PCI: Discard __init annotations for pci_fixup_irqs() and related functions
Remove the __init annotations in order to keep pci_fixup_irqs() around after init (e.g. for hotplug). This requires the same change for the implementation of pcibios_update_irq() on all architectures. While at it, all __devinit annotations are removed as well, since they will be useless now that HOTPLUG is always on. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/pci')
-rw-r--r--arch/mips/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c
index 690356808f8..64f0419e585 100644
--- a/arch/mips/pci/pci.c
+++ b/arch/mips/pci/pci.c
@@ -313,7 +313,7 @@ void __devinit pcibios_fixup_bus(struct pci_bus *bus)
}
}
-void __init
+void
pcibios_update_irq(struct pci_dev *dev, int irq)
{
pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq);