]> err.no Git - linux-2.6/commitdiff
[MIPS] Mark pcibios_fixup_device_resources() as __devinit
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Thu, 22 Feb 2007 16:13:17 +0000 (01:13 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 26 Feb 2007 23:06:05 +0000 (23:06 +0000)
pcibios_fixup_device_resources() is called by pcibios_fixup_bus() which is
marked as __devinit.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/pci.c

index 697a7e48cb8d1498f2572b72dd5838ed287eccb4..de7cfc559ddbdc56980711374577b8a001f5469e 100644 (file)
@@ -231,7 +231,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
        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.  */