summaryrefslogtreecommitdiff
path: root/chip/it83xx/lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/it83xx/lpc.c')
-rw-r--r--chip/it83xx/lpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/it83xx/lpc.c b/chip/it83xx/lpc.c
index 94b00a0839..c860a372b9 100644
--- a/chip/it83xx/lpc.c
+++ b/chip/it83xx/lpc.c
@@ -153,7 +153,7 @@ static void lpc_generate_sci(void)
*
* @param wake_events Currently asserted wake events
*/
-static void lpc_update_wake(host_event_t wake_events)
+static void lpc_update_wake(uint32_t wake_events)
{
/*
* Mask off power button event, since the AP gets that through a
@@ -238,7 +238,7 @@ void lpc_update_host_event_status(void)
}
/* Copy host events to mapped memory */
- *(host_event_t *)host_get_memmap(EC_MEMMAP_HOST_EVENTS) =
+ *(uint32_t *)host_get_memmap(EC_MEMMAP_HOST_EVENTS) =
lpc_get_host_events();
task_enable_irq(IT83XX_IRQ_PMC_IN);