forked from luck/tmp_suning_uos_patched
microblaze: pci_controller->arch_data really is a struct device_node *
we are follow powerpc change:
44ef339073
Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
296e2603cf
commit
878194c823
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user