summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-10 09:19:28 +0200
committerDavid S. Miller <davem@davemloft.net>2008-09-11 08:07:59 +0200
commit22fecbae4446ad470b9237ee9b79f80f343b3838 (patch)
tree91f10500f68cf757804966c2e90100bf1556bd53 /arch/sparc64/kernel/pci.c
parentsparc64: Get rid of pci_controller_info. (diff)
downloadlinux-22fecbae4446ad470b9237ee9b79f80f343b3838.tar.xz
linux-22fecbae4446ad470b9237ee9b79f80f343b3838.zip
sparc64: Record OF device instead of device node pointer in 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c
index 3070f6faecca..c6e81dea2cf3 100644
--- a/arch/sparc64/kernel/pci.c
+++ b/arch/sparc64/kernel/pci.c
@@ -676,7 +676,7 @@ static void __devinit pci_bus_register_of_sysfs(struct pci_bus *bus)
struct pci_bus * __devinit pci_scan_one_pbm(struct pci_pbm_info *pbm,
struct device *parent)
{
- struct device_node *node = pbm->prom_node;
+ struct device_node *node = pbm->op->node;
struct pci_bus *bus;
printk("PCI: Scanning PBM %s\n", node->full_name);