Commit 878194c8 authored by Michal Simek's avatar Michal Simek

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

we are follow powerpc change:
44ef3390Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 296e2603
...@@ -256,7 +256,7 @@ int of_irq_map_pci(struct pci_dev *pdev, struct of_irq *out_irq) ...@@ -256,7 +256,7 @@ int of_irq_map_pci(struct pci_dev *pdev, struct of_irq *out_irq)
if (ppdev == NULL) { if (ppdev == NULL) {
struct pci_controller *host; struct pci_controller *host;
host = pci_bus_to_host(pdev->bus); 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 */ /* No node for host bridge ? give up */
if (ppnode == NULL) if (ppnode == NULL)
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment