Browse Source

tile: mark pcibios_init() as __init

It was bombed away because it was previously marked as __devinit,
but it should be an __init function.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Chris Metcalf 12 years ago
parent
commit
7b770a6a0a
2 changed files with 2 additions and 2 deletions
  1. 1 1
      arch/tile/kernel/pci.c
  2. 1 1
      arch/tile/kernel/pci_gx.c

+ 1 - 1
arch/tile/kernel/pci.c

@@ -386,7 +386,7 @@ void pcibios_set_master(struct pci_dev *dev)
 }
 
 /* Process any "pci=" kernel boot arguments. */
-char * __init pcibios_setup(char *str)
+char *__init pcibios_setup(char *str)
 {
 	if (!strcmp(str, "off")) {
 		pci_probe = 0;

+ 1 - 1
arch/tile/kernel/pci_gx.c

@@ -1060,7 +1060,7 @@ void pcibios_fixup_bus(struct pci_bus *bus)
 }
 
 /* Process any "pci=" kernel boot arguments. */
-char *pcibios_setup(char *str)
+char *__init pcibios_setup(char *str)
 {
 	if (!strcmp(str, "off")) {
 		pci_probe = 0;