/* get_power_status - get power status of a slot @hotplug_slot: slot to get status @value: pointer to store status  */
static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
/* get_power_status - get power status of a slot @hotplug_slot: slot to get status @value: pointer to store status  */
static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
{
	int retval, level;
	struct slot *slot = (struct slot *)hotplug_slot->private;
	retval = rtas_get_power_level (slot->power_domain, &level);
	if (!retval)
		*value = level;
	return retval;
}