mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
55d512e245
commit
3ddbebf878
12 changed files with 13 additions and 13 deletions
|
|
@ -18,7 +18,7 @@
|
|||
#include <linux/cache.h>
|
||||
|
||||
|
||||
static void __init
|
||||
static void
|
||||
pdev_fixup_irq(struct pci_dev *dev,
|
||||
u8 (*swizzle)(struct pci_dev *, u8 *),
|
||||
int (*map_irq)(const struct pci_dev *, u8, u8))
|
||||
|
|
@ -54,7 +54,7 @@ pdev_fixup_irq(struct pci_dev *dev,
|
|||
pcibios_update_irq(dev, irq);
|
||||
}
|
||||
|
||||
void __init
|
||||
void
|
||||
pci_fixup_irqs(u8 (*swizzle)(struct pci_dev *, u8 *),
|
||||
int (*map_irq)(const struct pci_dev *, u8, u8))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue