/* On return it will hold the BIOS revision supported in the same format.  */
static int apm_driver_version(u_short *val)
/* On return it will hold the BIOS revision supported in the same format.  */
static int apm_driver_version(u_short *val)
{
	u32 eax;
	int err;
	if (apm_bios_call_simple(APM_FUNC_VERSION, 0, *val, &eax, &err))
		return err;
	*val = eax;
	return APM_SUCCESS;
}