MIPS: PCI: Move fixups from __init to __devinit.
Fixups are executed once the pci-device is found which is during boot process so __init seems fine as long as the platform does not support hotplug. However it is possible to remove the PCI bus at run time and have it rediscovered again via "echo 1 > /sys/bus/pci/rescan" and this will call the fixups again. [ralf@linux-mips.org: Made piixirqmap[] in malta_piix_func0_fixup() __initdata.] Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Cc: linux-mips@linux-mips.org Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:

committed by
Ralf Baechle

parent
3592c3cd06
commit
85a053fa5f
@@ -269,7 +269,7 @@ txx9_i8259_irq_setup(int irq)
|
||||
return err;
|
||||
}
|
||||
|
||||
static void __init quirk_slc90e66_bridge(struct pci_dev *dev)
|
||||
static void __devinit quirk_slc90e66_bridge(struct pci_dev *dev)
|
||||
{
|
||||
int irq; /* PCI/ISA Bridge interrupt */
|
||||
u8 reg_64;
|
||||
|
Reference in New Issue
Block a user