提交 938ca516 编写于 作者: M Myron Stowe 提交者: Bjorn Helgaas

MIPS/PCI: adjust section annotations for pcibios_setup()

Make pcibios_setup() consistently use the "__init" section annotation.
Signed-off-by: NMyron Stowe <myron.stowe@redhat.com>
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
上级 11206c93
...@@ -348,9 +348,9 @@ int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, ...@@ -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); 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) if (pcibios_plat_setup)
return pcibios_plat_setup(str); return pcibios_plat_setup(str);
......
...@@ -398,9 +398,9 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) ...@@ -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); 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)) if (txx9_board_pcibios_setup && !txx9_board_pcibios_setup(str))
return NULL; return NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册