diff options
Diffstat (limited to 'arch/sparc/kernel/pci_sabre.c')
| -rw-r--r-- | arch/sparc/kernel/pci_sabre.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/sparc/kernel/pci_sabre.c b/arch/sparc/kernel/pci_sabre.c index 3efaa4644d60..531186d7c9ab 100644 --- a/arch/sparc/kernel/pci_sabre.c +++ b/arch/sparc/kernel/pci_sabre.c | |||
| @@ -403,8 +403,7 @@ static void apb_init(struct pci_bus *sabre_bus) | |||
| 403 | } | 403 | } |
| 404 | } | 404 | } |
| 405 | 405 | ||
| 406 | static void __devinit sabre_scan_bus(struct pci_pbm_info *pbm, | 406 | static void sabre_scan_bus(struct pci_pbm_info *pbm, struct device *parent) |
| 407 | struct device *parent) | ||
| 408 | { | 407 | { |
| 409 | static int once; | 408 | static int once; |
| 410 | 409 | ||
| @@ -443,8 +442,7 @@ static void __devinit sabre_scan_bus(struct pci_pbm_info *pbm, | |||
| 443 | sabre_register_error_handlers(pbm); | 442 | sabre_register_error_handlers(pbm); |
| 444 | } | 443 | } |
| 445 | 444 | ||
| 446 | static void __devinit sabre_pbm_init(struct pci_pbm_info *pbm, | 445 | static void sabre_pbm_init(struct pci_pbm_info *pbm, struct platform_device *op) |
| 447 | struct platform_device *op) | ||
| 448 | { | 446 | { |
| 449 | psycho_pbm_init_common(pbm, op, "SABRE", PBM_CHIP_TYPE_SABRE); | 447 | psycho_pbm_init_common(pbm, op, "SABRE", PBM_CHIP_TYPE_SABRE); |
| 450 | pbm->pci_afsr = pbm->controller_regs + SABRE_PIOAFSR; | 448 | pbm->pci_afsr = pbm->controller_regs + SABRE_PIOAFSR; |
| @@ -454,7 +452,7 @@ static void __devinit sabre_pbm_init(struct pci_pbm_info *pbm, | |||
| 454 | } | 452 | } |
| 455 | 453 | ||
| 456 | static const struct of_device_id sabre_match[]; | 454 | static const struct of_device_id sabre_match[]; |
| 457 | static int __devinit sabre_probe(struct platform_device *op) | 455 | static int sabre_probe(struct platform_device *op) |
| 458 | { | 456 | { |
| 459 | const struct of_device_id *match; | 457 | const struct of_device_id *match; |
| 460 | const struct linux_prom64_registers *pr_regs; | 458 | const struct linux_prom64_registers *pr_regs; |
