diff options
Diffstat (limited to 'arch/sparc64/kernel/pci_fire.c')
-rw-r--r-- | arch/sparc64/kernel/pci_fire.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc64/kernel/pci_fire.c b/arch/sparc64/kernel/pci_fire.c index fef3b37487bf..7571ed563147 100644 --- a/arch/sparc64/kernel/pci_fire.c +++ b/arch/sparc64/kernel/pci_fire.c | |||
@@ -30,7 +30,7 @@ | |||
30 | "i" (ASI_PHYS_BYPASS_EC_E) \ | 30 | "i" (ASI_PHYS_BYPASS_EC_E) \ |
31 | : "memory") | 31 | : "memory") |
32 | 32 | ||
33 | static void pci_fire_scan_bus(struct pci_pbm_info *pbm) | 33 | static void __init pci_fire_scan_bus(struct pci_pbm_info *pbm) |
34 | { | 34 | { |
35 | pbm->pci_bus = pci_scan_one_pbm(pbm); | 35 | pbm->pci_bus = pci_scan_one_pbm(pbm); |
36 | 36 | ||
@@ -434,8 +434,8 @@ static void pci_fire_hw_init(struct pci_pbm_info *pbm) | |||
434 | fire_write(pbm->pbm_regs + FIRE_PEC_IENAB, ~(u64)0); | 434 | fire_write(pbm->pbm_regs + FIRE_PEC_IENAB, ~(u64)0); |
435 | } | 435 | } |
436 | 436 | ||
437 | static int pci_fire_pbm_init(struct pci_controller_info *p, | 437 | static int __init pci_fire_pbm_init(struct pci_controller_info *p, |
438 | struct device_node *dp, u32 portid) | 438 | struct device_node *dp, u32 portid) |
439 | { | 439 | { |
440 | const struct linux_prom64_registers *regs; | 440 | const struct linux_prom64_registers *regs; |
441 | struct pci_pbm_info *pbm; | 441 | struct pci_pbm_info *pbm; |
@@ -488,7 +488,7 @@ static inline int portid_compare(u32 x, u32 y) | |||
488 | return 0; | 488 | return 0; |
489 | } | 489 | } |
490 | 490 | ||
491 | void fire_pci_init(struct device_node *dp, const char *model_name) | 491 | void __init fire_pci_init(struct device_node *dp, const char *model_name) |
492 | { | 492 | { |
493 | struct pci_controller_info *p; | 493 | struct pci_controller_info *p; |
494 | u32 portid = of_getintprop_default(dp, "portid", 0xff); | 494 | u32 portid = of_getintprop_default(dp, "portid", 0xff); |