Skip to content

Commit

Permalink
of/powerpc: fix 85xx RapidIO device node pointer
Browse files Browse the repository at this point in the history
Fixes bug introduced by commit 61c7a08
(of: Always use 'struct device.of_node' to get device node pointer)

Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
Alexandre Bounine authored and Grant Likely committed Jun 2, 2010
1 parent aef4b9a commit 45fdf00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/sysdev/fsl_rio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,7 @@ int fsl_rio_setup(struct of_device *dev)
port->iores.flags = IORESOURCE_MEM;
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->txirq = irq_of_parse_and_map(dev->dev.of_node, 3);
priv->rxirq = irq_of_parse_and_map(dev->dev.of_node, 4);
Expand Down

0 comments on commit 45fdf00

Please sign in to comment.