mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
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
This commit is contained in:
parent
4b556a16d3
commit
69390dbba1
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue