diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-07-20 00:14:07 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-07-20 00:14:07 -0400 |
commit | beeea6d6a1f9c39fbda3abdd2c528ba90422e4bf (patch) | |
tree | 97a83a455aa0392b291802215457920a288eb544 /arch/sh64 | |
parent | 207a130540b045d2dc7ce7becaa7a687b81548b9 (diff) |
sh64: Fix up PCI section mismatch warnings.
pcibios_fixup_bus() and pcibios_setup() should be __devinit.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh64')
-rw-r--r-- | arch/sh64/kernel/pci_sh5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh64/kernel/pci_sh5.c b/arch/sh64/kernel/pci_sh5.c index 3334f99b5835..388bb711f1b0 100644 --- a/arch/sh64/kernel/pci_sh5.c +++ b/arch/sh64/kernel/pci_sh5.c | |||
@@ -48,7 +48,7 @@ static void __init pci_fixup_ide_bases(struct pci_dev *d) | |||
48 | } | 48 | } |
49 | DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, pci_fixup_ide_bases); | 49 | DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, pci_fixup_ide_bases); |
50 | 50 | ||
51 | char * __init pcibios_setup(char *str) | 51 | char * __devinit pcibios_setup(char *str) |
52 | { | 52 | { |
53 | return str; | 53 | return str; |
54 | } | 54 | } |
@@ -497,7 +497,7 @@ static int __init pcibios_init(void) | |||
497 | 497 | ||
498 | subsys_initcall(pcibios_init); | 498 | subsys_initcall(pcibios_init); |
499 | 499 | ||
500 | void __init pcibios_fixup_bus(struct pci_bus *bus) | 500 | void __devinit pcibios_fixup_bus(struct pci_bus *bus) |
501 | { | 501 | { |
502 | struct pci_dev *dev = bus->self; | 502 | struct pci_dev *dev = bus->self; |
503 | int i; | 503 | int i; |