pcibios_fixup_device_resources() is called by pcibios_fixup_bus() which is marked as __devinit. Signed-off-by: Atsushi Nemoto <anemo@xxxxxxxxxxxxx> --- diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c index 77d8c50..f901140 100644 --- a/arch/mips/pci/pci.c +++ b/arch/mips/pci/pci.c @@ -243,7 +243,7 @@ int pcibios_enable_device(struct pci_dev return pcibios_plat_dev_init(dev); } -static void __init pcibios_fixup_device_resources(struct pci_dev *dev, +static void __devinit pcibios_fixup_device_resources(struct pci_dev *dev, struct pci_bus *bus) { /* Update device resources. */