/* Call PnP BIOS with function 0x00, "get number of system device nodes"  */
static int __pnp_bios_dev_node_info(struct pnp_dev_node_info *data)
/* Call PnP BIOS with function 0x00, "get number of system device nodes"  */
static int __pnp_bios_dev_node_info(struct pnp_dev_node_info *data)
{
	u16 status;
	if (!pnp_bios_present())
		return PNP_FUNCTION_NOT_SUPPORTED;
	status = call_pnp_bios(PNP_GET_NUM_SYS_DEV_NODES, 0, PNP_TS1, 2,
			       PNP_TS1, PNP_DS, 0, 0, data,
			       sizeof(struct pnp_dev_node_info), NULL, 0);
	data->no_nodes &= 0xff;
	return status;
}