Commit ee227c57 authored by Wolfram Sang's avatar Wolfram Sang Committed by Grant Likely
Browse files

of/powerpc: fix fsl_msi device node pointer

Signed-off-by: default avatarWolfram Sang <>
Signed-off-by: default avatarGrant Likely <>
parent b74dbf2a
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment