/* This routine will return true only if the device node is a hotpluggable slot. This routine will return false for built-in pci slots (even when the built-in slots are dlparable.)  */
static int is_php_dn(struct device_node *dn, const int **indexes, const int **names, const int **types, const int **power_domains)
/* This routine will return true only if the device node is a hotpluggable slot. This routine will return false for built-in pci slots (even when the built-in slots are dlparable.)  */
static int is_php_dn(struct device_node *dn, const int **indexes, const int **names, const int **types, const int **power_domains)
{
	const int *drc_types;
	int rc;
	rc = get_children_props(dn, indexes, names, &drc_types, power_domains);
	if (rc < 0)
		return 0;
	if (!is_php_type((char *) &drc_types[1]))
		return 0;
	*types = drc_types;
	return 1;
}