提交 878194c8 编写于 作者: M Michal Simek

microblaze: pci_controller->arch_data really is a struct device_node *

we are follow powerpc change:
44ef3390Signed-off-by: NMichal Simek <monstr@monstr.eu>
上级 296e2603
......@@ -256,7 +256,7 @@ int of_irq_map_pci(struct pci_dev *pdev, struct of_irq *out_irq)
if (ppdev == NULL) {
struct pci_controller *host;
host = pci_bus_to_host(pdev->bus);
ppnode = host ? host->arch_data : NULL;
ppnode = host ? host->dn : NULL;
/* No node for host bridge ? give up */
if (ppnode == NULL)
return -EINVAL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册