]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - hw/i386/acpi-build.c
pc: export applesmc IO port/len
[thirdparty/qemu.git] / hw / i386 / acpi-build.c
index 01d988cfd3bb97a6b9c8dba4888b8ccad3fa020d..badfa73fe49f720b01f836cb1867cad0ae77d193 100644 (file)
@@ -145,7 +145,7 @@ static void acpi_get_dsdt(AcpiMiscInfo *info)
 
     /* Patch in appropriate value for AppleSMC _STA */
     *(uint8_t *)(info->dsdt_code + *applesmc_sta) =
-        applesmc_find() ? 0x0b : 0x00;
+        applesmc_port() ? 0x0b : 0x00;
 }
 
 static