summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2010-06-03 08:03:46 +0400
committerGrant Likely <grant.likely@secretlab.ca>2010-06-03 08:26:42 +0400
commitee227c577cde47f78e2df359f9c32ba047060767 (patch)
tree6f195e4914ce7d3bb7cfa80e13f17b8d56df6878 /arch
parentb74dbf2aed8d8c4f93ac2c44bab5c81f65be62a0 (diff)
downloadlinux-ee227c577cde47f78e2df359f9c32ba047060767.tar.xz
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')
-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,
goto error_out;
}
offset = 0;
- p = of_get_property(dev->node, "msi-available-ranges", &len);
+ p = of_get_property(dev->dev.of_node, "msi-available-ranges", &len);
if (p)
offset = *p / IRQS_PER_MSI_REG;