提交 45fdf00d 编写于 作者: A Alexandre Bounine 提交者: Grant Likely

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: NAlexandre Bounine <alexandre.bounine@idt.com>
Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
上级 aef4b9aa
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册