/* This routine performs a recursive walk to the children of this device as well.  */
void eeh_restore_bars(struct pci_dn *pdn)
/* This routine performs a recursive walk to the children of this device as well.  */
void eeh_restore_bars(struct pci_dn *pdn)
{
	struct device_node *dn;
	if (!pdn) 
		return;
	if ((pdn->eeh_mode & EEH_MODE_SUPPORTED) && !IS_BRIDGE(pdn->class_code))
		__restore_bars (pdn);
	for_each_child_of_node(pdn->node, dn)
		eeh_restore_bars (PCI_DN(dn));
}