aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/pci/pci.c4
-rw-r--r--arch/mips/txx9/generic/pci.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c
index 271e8c4a54c7..0e111d2741ac 100644
--- a/arch/mips/pci/pci.c
+++ b/arch/mips/pci/pci.c
@@ -348,9 +348,9 @@ int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,
348 vma->vm_end - vma->vm_start, vma->vm_page_prot); 348 vma->vm_end - vma->vm_start, vma->vm_page_prot);
349} 349}
350 350
351char * (*pcibios_plat_setup)(char *str) __devinitdata; 351char * (*pcibios_plat_setup)(char *str) __initdata;
352 352
353char *__devinit pcibios_setup(char *str) 353char *__init pcibios_setup(char *str)
354{ 354{
355 if (pcibios_plat_setup) 355 if (pcibios_plat_setup)
356 return pcibios_plat_setup(str); 356 return pcibios_plat_setup(str);
diff --git a/arch/mips/txx9/generic/pci.c b/arch/mips/txx9/generic/pci.c
index 682efb0c108d..f028e3dc25fb 100644
--- a/arch/mips/txx9/generic/pci.c
+++ b/arch/mips/txx9/generic/pci.c
@@ -398,9 +398,9 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
398 return txx9_board_vec->pci_map_irq(dev, slot, pin); 398 return txx9_board_vec->pci_map_irq(dev, slot, pin);
399} 399}
400 400
401char * (*txx9_board_pcibios_setup)(char *str) __devinitdata; 401char * (*txx9_board_pcibios_setup)(char *str) __initdata;
402 402
403char *__devinit txx9_pcibios_setup(char *str) 403char *__init txx9_pcibios_setup(char *str)
404{ 404{
405 if (txx9_board_pcibios_setup && !txx9_board_pcibios_setup(str)) 405 if (txx9_board_pcibios_setup && !txx9_board_pcibios_setup(str))
406 return NULL; 406 return NULL;