/* parse_tree_node - returns a device entry in the iotree @parent: the parent node in the tree @index: the current BC index @modpath: the hardware_path struct to match a device against  */
static struct device * parse_tree_node(struct device *parent, int index, struct hardware_path *modpath)
/* parse_tree_node - returns a device entry in the iotree @parent: the parent node in the tree @index: the current BC index @modpath: the hardware_path struct to match a device against  */
static struct device * parse_tree_node(struct device *parent, int index, struct hardware_path *modpath)
{
	struct parse_tree_data d = {
		.index          = index,
		.modpath        = modpath,
	};
	struct recurse_struct recurse_data = {
		.obj	= &d,
		.fn	= check_parent,
	};
	if (device_for_each_child(parent, &recurse_data, descend_children));
	return d.dev;
}