summaryrefslogtreecommitdiff
path: root/common/hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/hooks.c')
-rw-r--r--common/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hooks.c b/common/hooks.c
index b8725a2467..27ee1c422f 100644
--- a/common/hooks.c
+++ b/common/hooks.c
@@ -162,7 +162,7 @@ int hook_call_deferred(const struct deferred_data *data, int us)
return EC_SUCCESS;
}
-void hook_task(void)
+void hook_task(void *u)
{
/* Periodic hooks will be called first time through the loop */
static uint64_t last_second = -SECOND;