diff options
author | David S. Miller <davem@davemloft.net> | 2009-04-07 04:03:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-08 06:28:15 -0400 |
commit | 9a2ed5cc9ef6cb60abd3ea66d7be549d8023581a (patch) | |
tree | 564ba2a98b1c032e1d03262fd24e66ead1ab8899 /arch/sparc/kernel/pci_sabre.c | |
parent | 19ab6db66ce1b32de54ecb474f16ade3247f8323 (diff) |
sparc64: Fix section mismatch warnings in PCI controller drivers.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/pci_sabre.c')
-rw-r--r-- | arch/sparc/kernel/pci_sabre.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc/kernel/pci_sabre.c b/arch/sparc/kernel/pci_sabre.c index 713257b6963c..ba6fbeba3e2c 100644 --- a/arch/sparc/kernel/pci_sabre.c +++ b/arch/sparc/kernel/pci_sabre.c | |||
@@ -402,8 +402,8 @@ static void apb_init(struct pci_bus *sabre_bus) | |||
402 | } | 402 | } |
403 | } | 403 | } |
404 | 404 | ||
405 | static void __init sabre_scan_bus(struct pci_pbm_info *pbm, | 405 | static void __devinit sabre_scan_bus(struct pci_pbm_info *pbm, |
406 | struct device *parent) | 406 | struct device *parent) |
407 | { | 407 | { |
408 | static int once; | 408 | static int once; |
409 | 409 | ||
@@ -442,8 +442,8 @@ static void __init sabre_scan_bus(struct pci_pbm_info *pbm, | |||
442 | sabre_register_error_handlers(pbm); | 442 | sabre_register_error_handlers(pbm); |
443 | } | 443 | } |
444 | 444 | ||
445 | static void __init sabre_pbm_init(struct pci_pbm_info *pbm, | 445 | static void __devinit sabre_pbm_init(struct pci_pbm_info *pbm, |
446 | struct of_device *op) | 446 | struct of_device *op) |
447 | { | 447 | { |
448 | psycho_pbm_init_common(pbm, op, "SABRE", PBM_CHIP_TYPE_SABRE); | 448 | psycho_pbm_init_common(pbm, op, "SABRE", PBM_CHIP_TYPE_SABRE); |
449 | pbm->pci_afsr = pbm->controller_regs + SABRE_PIOAFSR; | 449 | pbm->pci_afsr = pbm->controller_regs + SABRE_PIOAFSR; |