mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-14 00:26:30 +00:00
chip/npcx: ensure proper type of cec_task
gcc 8.1 in lto mode checks that the prototypes match. Change-Id: Id7eb5bd724e1084058a5c959e909a797659051b8 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://chromium-review.googlesource.com/1062026 Commit-Ready: Patrick Georgi <pgeorgi@chromium.org> Tested-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-by: Stefan Reinauer <reinauer@google.com>
This commit is contained in:
committed by
chrome-bot
parent
880bb8b212
commit
013494ad18
@@ -1146,7 +1146,7 @@ static void cec_init(void)
|
||||
}
|
||||
DECLARE_HOOK(HOOK_INIT, cec_init, HOOK_PRIO_LAST);
|
||||
|
||||
void cec_task(void)
|
||||
void cec_task(void *unused)
|
||||
{
|
||||
int rv;
|
||||
uint32_t events;
|
||||
|
||||
Reference in New Issue
Block a user