Author: stepan Date: 2009-05-26 14:33:52 +0200 (Tue, 26 May 2009) New Revision: 4301
Modified: trunk/coreboot-v2/src/arch/i386/boot/acpi.c Log: acpi.c: add a cast to remove warning (trivial) Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/coreboot-v2/src/arch/i386/boot/acpi.c =================================================================== --- trunk/coreboot-v2/src/arch/i386/boot/acpi.c 2009-05-26 12:33:06 UTC (rev 4300) +++ trunk/coreboot-v2/src/arch/i386/boot/acpi.c 2009-05-26 12:33:52 UTC (rev 4301) @@ -495,7 +495,7 @@ return NULL;
printk_debug("FADT found at %p\n", fadt); - facs = fadt->firmware_ctrl; + facs = (acpi_facs_t *)fadt->firmware_ctrl;
if (facs == NULL) { printk_debug("No FACS found, wake up from S3 not possible.\n");