diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-05-08 02:24:05 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-05-08 19:41:32 -0400 |
commit | f1cd8de2c951e206b57fd76aff279cf13ea25815 (patch) | |
tree | 67b24b716b53fbcc6bdfcbfe6d75e1348e0e9f1a /arch/sparc64/kernel/pci.c | |
parent | 96a496fd49fb2c3178128237ae4691b7c7df3a3d (diff) |
[SPARC64]: Move pci_ops into pci_pbm_info.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci.c')
-rw-r--r-- | arch/sparc64/kernel/pci.c | 3 |
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 | ||
744 | struct pci_bus * __devinit pci_scan_one_pbm(struct pci_pbm_info *pbm) | 744 | struct 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); |