aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/kernel/pci.c')
-rw-r--r--arch/sparc64/kernel/pci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c
index c17723fb1c31..b583deb05062 100644
--- a/arch/sparc64/kernel/pci.c
+++ b/arch/sparc64/kernel/pci.c
@@ -743,7 +743,6 @@ int pci_host_bridge_write_pci_cfg(struct pci_bus *bus_dev,
743 743
744struct pci_bus * __devinit pci_scan_one_pbm(struct pci_pbm_info *pbm) 744struct pci_bus * __devinit pci_scan_one_pbm(struct pci_pbm_info *pbm)
745{ 745{
746 struct pci_controller_info *p = pbm->parent;
747 struct device_node *node = pbm->prom_node; 746 struct device_node *node = pbm->prom_node;
748 struct pci_dev *host_pdev; 747 struct pci_dev *host_pdev;
749 struct pci_bus *bus; 748 struct pci_bus *bus;
@@ -751,7 +750,7 @@ struct pci_bus * __devinit pci_scan_one_pbm(struct pci_pbm_info *pbm)
751 printk("PCI: Scanning PBM %s\n", node->full_name); 750 printk("PCI: Scanning PBM %s\n", node->full_name);
752 751
753 /* XXX parent device? XXX */ 752 /* XXX parent device? XXX */
754 bus = pci_create_bus(NULL, pbm->pci_first_busno, p->pci_ops, pbm); 753 bus = pci_create_bus(NULL, pbm->pci_first_busno, pbm->pci_ops, pbm);
755 if (!bus) { 754 if (!bus) {
756 printk(KERN_ERR "Failed to create bus for %s\n", 755 printk(KERN_ERR "Failed to create bus for %s\n",
757 node->full_name); 756 node->full_name);