aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2010-06-03 00:03:46 -0400
committerGrant Likely <grant.likely@secretlab.ca>2010-06-03 00:26:42 -0400
commitee227c577cde47f78e2df359f9c32ba047060767 (patch)
tree6f195e4914ce7d3bb7cfa80e13f17b8d56df6878 /arch/powerpc
parentb74dbf2aed8d8c4f93ac2c44bab5c81f65be62a0 (diff)
of/powerpc: fix fsl_msi device node pointer
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/sysdev/fsl_msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/fsl_msi.c b/arch/powerpc/sysdev/fsl_msi.c
index 0f5bee90ee4e..962c2d8dd8d9 100644
--- a/arch/powerpc/sysdev/fsl_msi.c
+++ b/arch/powerpc/sysdev/fsl_msi.c
@@ -347,7 +347,7 @@ static int __devinit fsl_of_msi_probe(struct of_device *dev,
347 goto error_out; 347 goto error_out;
348 } 348 }
349 offset = 0; 349 offset = 0;
350 p = of_get_property(dev->node, "msi-available-ranges", &len); 350 p = of_get_property(dev->dev.of_node, "msi-available-ranges", &len);
351 if (p) 351 if (p)
352 offset = *p / IRQS_PER_MSI_REG; 352 offset = *p / IRQS_PER_MSI_REG;
353 353