]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
MIPS/PCI: adjust section annotations for pcibios_setup()
authorMyron Stowe <myron.stowe@redhat.com>
Tue, 26 Jun 2012 03:31:37 +0000 (21:31 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 5 Jul 2012 21:09:12 +0000 (15:09 -0600)
Make pcibios_setup() consistently use the "__init" section annotation.

Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/mips/pci/pci.c
arch/mips/txx9/generic/pci.c

index 271e8c4a54c7f2304101020d8d8bb0ab50043437..0e111d2741ac9f7ac3aa996a9fd8120979d5e981 100644 (file)
@@ -348,9 +348,9 @@ int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,
                vma->vm_end - vma->vm_start, vma->vm_page_prot);
 }
 
-char * (*pcibios_plat_setup)(char *str) __devinitdata;
+char * (*pcibios_plat_setup)(char *str) __initdata;
 
-char *__devinit pcibios_setup(char *str)
+char *__init pcibios_setup(char *str)
 {
        if (pcibios_plat_setup)
                return pcibios_plat_setup(str);
index 682efb0c108d22576992c9f554653e9329916d3b..f028e3dc25fb863cea827a9cdc49c2d40f521d9c 100644 (file)
@@ -398,9 +398,9 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
        return txx9_board_vec->pci_map_irq(dev, slot, pin);
 }
 
-char * (*txx9_board_pcibios_setup)(char *str) __devinitdata;
+char * (*txx9_board_pcibios_setup)(char *str) __initdata;
 
-char *__devinit txx9_pcibios_setup(char *str)
+char *__init txx9_pcibios_setup(char *str)
 {
        if (txx9_board_pcibios_setup && !txx9_board_pcibios_setup(str))
                return NULL;