aboutsummaryrefslogtreecommitdiff
path: root/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c')
-rw-r--r--board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c b/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
index 2f1731eea6..d7f47959eb 100644
--- a/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
+++ b/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
@@ -110,14 +110,14 @@ int board_early_init_f(void)
return 0;
}
-static int pg_wcom_misc_init_f(void *ctx, struct event *event)
+static int pg_wcom_misc_init_f(void)
{
if (IS_ENABLED(CONFIG_PG_WCOM_UBOOT_UPDATE_SUPPORTED))
check_for_uboot_update();
return 0;
}
-EVENT_SPY(EVT_MISC_INIT_F, pg_wcom_misc_init_f);
+EVENT_SPY_SIMPLE(EVT_MISC_INIT_F, pg_wcom_misc_init_f);
int board_init(void)
{