summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_sabre.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-10 00:19:28 -0700
committerDavid S. Miller <davem@davemloft.net>2008-09-10 23:07:59 -0700
commit22fecbae4446ad470b9237ee9b79f80f343b3838 (patch)
tree91f10500f68cf757804966c2e90100bf1556bd53 /arch/sparc64/kernel/pci_sabre.c
parentd3ae4b5bc7186a53731d35187ad4ba3bca147cf6 (diff)
downloadop-kernel-dev-22fecbae4446ad470b9237ee9b79f80f343b3838.zip
op-kernel-dev-22fecbae4446ad470b9237ee9b79f80f343b3838.tar.gz
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_sabre.c')
-rw-r--r--arch/sparc64/kernel/pci_sabre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/pci_sabre.c b/arch/sparc64/kernel/pci_sabre.c
index 8f779b5..196049b 100644
--- a/arch/sparc64/kernel/pci_sabre.c
+++ b/arch/sparc64/kernel/pci_sabre.c
@@ -543,7 +543,7 @@ static irqreturn_t sabre_pcierr_intr(int irq, void *dev_id)
static void sabre_register_error_handlers(struct pci_pbm_info *pbm)
{
- struct device_node *dp = pbm->prom_node;
+ struct device_node *dp = pbm->op->node;
struct of_device *op;
unsigned long base = pbm->controller_regs;
u64 tmp;
@@ -750,7 +750,7 @@ static void __init sabre_pbm_init(struct pci_pbm_info *pbm,
pbm->index = pci_num_pbms++;
pbm->chip_type = PBM_CHIP_TYPE_SABRE;
- pbm->prom_node = dp;
+ pbm->op = op;
pci_get_pbm_props(pbm);
pci_determine_mem_io_space(pbm);
OpenPOWER on IntegriCloud