diff options
author | Robert Reif <reif@earthlink.net> | 2007-04-12 16:47:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-04-12 16:47:37 -0400 |
commit | f6b45da1299f1f2e92a1446cfa400be53fdc5c99 (patch) | |
tree | f639982735d9dae2c0c8e0b70d76567cdd6c7ee9 /arch | |
parent | bc375ea7efcda0450b7cba9b3514e76d2e1cea79 (diff) |
[SPARC]: Fix section mismatch warnings in pci.c and pcic.c
Fix section mismatch in arch/sparc/kernel/pcic.c and
arch/sparc64/kernel/pci.c.
Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/kernel/pcic.c | 4 | ||||
-rw-r--r-- | arch/sparc64/kernel/pci.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc/kernel/pcic.c b/arch/sparc/kernel/pcic.c index 3fa5f95c4614..1c927c538b8b 100644 --- a/arch/sparc/kernel/pcic.c +++ b/arch/sparc/kernel/pcic.c | |||
@@ -601,7 +601,7 @@ pcic_fill_irq(struct linux_pcic *pcic, struct pci_dev *dev, int node) | |||
601 | /* | 601 | /* |
602 | * Normally called from {do_}pci_scan_bus... | 602 | * Normally called from {do_}pci_scan_bus... |
603 | */ | 603 | */ |
604 | void __init pcibios_fixup_bus(struct pci_bus *bus) | 604 | void __devinit pcibios_fixup_bus(struct pci_bus *bus) |
605 | { | 605 | { |
606 | struct pci_dev *dev; | 606 | struct pci_dev *dev; |
607 | int i, has_io, has_mem; | 607 | int i, has_io, has_mem; |
@@ -842,7 +842,7 @@ static void watchdog_reset() { | |||
842 | /* | 842 | /* |
843 | * Other archs parse arguments here. | 843 | * Other archs parse arguments here. |
844 | */ | 844 | */ |
845 | char * __init pcibios_setup(char *str) | 845 | char * __devinit pcibios_setup(char *str) |
846 | { | 846 | { |
847 | return str; | 847 | return str; |
848 | } | 848 | } |
diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c index 196b4b72482b..12109886bb1e 100644 --- a/arch/sparc64/kernel/pci.c +++ b/arch/sparc64/kernel/pci.c | |||
@@ -327,7 +327,7 @@ static int __init pcibios_init(void) | |||
327 | 327 | ||
328 | subsys_initcall(pcibios_init); | 328 | subsys_initcall(pcibios_init); |
329 | 329 | ||
330 | void pcibios_fixup_bus(struct pci_bus *pbus) | 330 | void __devinit pcibios_fixup_bus(struct pci_bus *pbus) |
331 | { | 331 | { |
332 | struct pci_pbm_info *pbm = pbus->sysdata; | 332 | struct pci_pbm_info *pbm = pbus->sysdata; |
333 | 333 | ||
@@ -405,7 +405,7 @@ void pcibios_bus_to_resource(struct pci_dev *pdev, struct resource *res, | |||
405 | } | 405 | } |
406 | EXPORT_SYMBOL(pcibios_bus_to_resource); | 406 | EXPORT_SYMBOL(pcibios_bus_to_resource); |
407 | 407 | ||
408 | char * __init pcibios_setup(char *str) | 408 | char * __devinit pcibios_setup(char *str) |
409 | { | 409 | { |
410 | return str; | 410 | return str; |
411 | } | 411 | } |