of/powerpc: fix fsl_msi device node pointer
Wolfram Sang [Thu, 3 Jun 2010 04:03:46 +0000 (06:03 +0200)]
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

arch/powerpc/sysdev/fsl_msi.c

index 0f5bee9..962c2d8 100644 (file)
@@ -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;