/* Look down the chain to find the matching Device Device  */
static struct device_node* find_device_node(int bus, int devfn)
/* Look down the chain to find the matching Device Device  */
static struct device_node* find_device_node(int bus, int devfn)
{
	struct device_node *node;
	for (node = NULL; (node = of_find_all_nodes(node)); ) {
		struct pci_dn *pdn = PCI_DN(node);
		if (pdn && (bus == pdn->busno) && (devfn == pdn->devfn))
			return node;
	}
	return NULL;
}