Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

of/powerpc: fix fsl_msi device node pointer

parent b74dbf2a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;