diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2013-08-13 15:17:38 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-09-03 14:53:15 -0400 |
commit | 7b770a6a0a8504327224ad891d6862893456290d (patch) | |
tree | ae05f896239de275b5c513fb2d4a27bc784d3336 /arch/tile | |
parent | 9a55fed4739d48829af359f575790840cc7e91dd (diff) |
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>
Diffstat (limited to 'arch/tile')
-rw-r--r-- | arch/tile/kernel/pci.c | 2 | ||||
-rw-r--r-- | arch/tile/kernel/pci_gx.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/tile/kernel/pci.c b/arch/tile/kernel/pci.c index af75835d6ed2..b7180e6e900d 100644 --- a/arch/tile/kernel/pci.c +++ b/arch/tile/kernel/pci.c | |||
@@ -386,7 +386,7 @@ void pcibios_set_master(struct pci_dev *dev) | |||
386 | } | 386 | } |
387 | 387 | ||
388 | /* Process any "pci=" kernel boot arguments. */ | 388 | /* Process any "pci=" kernel boot arguments. */ |
389 | char * __init pcibios_setup(char *str) | 389 | char *__init pcibios_setup(char *str) |
390 | { | 390 | { |
391 | if (!strcmp(str, "off")) { | 391 | if (!strcmp(str, "off")) { |
392 | pci_probe = 0; | 392 | pci_probe = 0; |
diff --git a/arch/tile/kernel/pci_gx.c b/arch/tile/kernel/pci_gx.c index 48438818d696..66ef9db5c2fb 100644 --- a/arch/tile/kernel/pci_gx.c +++ b/arch/tile/kernel/pci_gx.c | |||
@@ -1060,7 +1060,7 @@ void pcibios_fixup_bus(struct pci_bus *bus) | |||
1060 | } | 1060 | } |
1061 | 1061 | ||
1062 | /* Process any "pci=" kernel boot arguments. */ | 1062 | /* Process any "pci=" kernel boot arguments. */ |
1063 | char *pcibios_setup(char *str) | 1063 | char *__init pcibios_setup(char *str) |
1064 | { | 1064 | { |
1065 | if (!strcmp(str, "off")) { | 1065 | if (!strcmp(str, "off")) { |
1066 | pci_probe = 0; | 1066 | pci_probe = 0; |