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

Commit 45fdf00d authored by Alexandre Bounine's avatar Alexandre Bounine Committed by Grant Likely
Browse files

of/powerpc: fix 85xx RapidIO device node pointer



Fixes bug introduced by commit 61c7a080
(of: Always use 'struct device.of_node' to get device node pointer)

Signed-off-by: default avatarAlexandre Bounine <alexandre.bounine@idt.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent aef4b9aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1426,7 +1426,7 @@ int fsl_rio_setup(struct of_device *dev)
	port->iores.flags = IORESOURCE_MEM;
	port->iores.flags = IORESOURCE_MEM;
	port->iores.name = "rio_io_win";
	port->iores.name = "rio_io_win";


	priv->pwirq   = irq_of_parse_and_map(dev->node, 0);
	priv->pwirq   = irq_of_parse_and_map(dev->dev.of_node, 0);
	priv->bellirq = irq_of_parse_and_map(dev->dev.of_node, 2);
	priv->bellirq = irq_of_parse_and_map(dev->dev.of_node, 2);
	priv->txirq = irq_of_parse_and_map(dev->dev.of_node, 3);
	priv->txirq = irq_of_parse_and_map(dev->dev.of_node, 3);
	priv->rxirq = irq_of_parse_and_map(dev->dev.of_node, 4);
	priv->rxirq = irq_of_parse_and_map(dev->dev.of_node, 4);