]> Pileus Git - ~andy/linux/commitdiff
tile: mark pcibios_init() as __init
authorChris Metcalf <cmetcalf@tilera.com>
Tue, 13 Aug 2013 19:17:38 +0000 (15:17 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 3 Sep 2013 18:53:15 +0000 (14:53 -0400)
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>
arch/tile/kernel/pci.c
arch/tile/kernel/pci_gx.c

index af75835d6ed2699fa519d9e0c00abf306e162ede..b7180e6e900da624e14758138037fd103009881f 100644 (file)
@@ -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;
index 48438818d696593c34a22674e594b9c162d36823..66ef9db5c2fbefbabdddf1ff7cf94d3283e89c90 100644 (file)
@@ -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;