summaryrefslogtreecommitdiff
path: root/src/arch/i386/boot
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-05-26 12:33:52 +0000
committerStefan Reinauer <stepan@openbios.org>2009-05-26 12:33:52 +0000
commit69390dbba1b213f9af1a743b1dbae292cc96e9de (patch)
treeee5d2f9a82ff02a5d41620ee04f3cf659262e5e8 /src/arch/i386/boot
parent4b556a16d3e84b07766b76c2aee4586d08ef7c00 (diff)
downloadcoreboot-69390dbba1b213f9af1a743b1dbae292cc96e9de.tar.xz
acpi.c: add a cast to remove warning (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4301 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386/boot')
-rw-r--r--src/arch/i386/boot/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/boot/acpi.c b/src/arch/i386/boot/acpi.c
index 589dc6422a..658c1b32d8 100644
--- a/src/arch/i386/boot/acpi.c
+++ b/src/arch/i386/boot/acpi.c
@@ -495,7 +495,7 @@ void *acpi_find_wakeup_vector(void)
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");