ppc64: Fix a refounting issue in macio_asic

parent 20fbbc61
...@@ -539,6 +539,9 @@ static int __devinit macio_pci_probe(struct pci_dev *pdev, const struct pci_devi ...@@ -539,6 +539,9 @@ static int __devinit macio_pci_probe(struct pci_dev *pdev, const struct pci_devi
if (np == NULL) if (np == NULL)
return -ENODEV; return -ENODEV;
/* This assumption is wrong, fix that here for now until I fix the arch */
of_node_get(np);
/* We also assume that pmac_feature will have done a get() on nodes stored /* We also assume that pmac_feature will have done a get() on nodes stored
* in the macio chips array * in the macio chips array
*/ */
......
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