aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-09-04 13:44:05 -0400
committerTom Rini <trini@konsulko.com>2023-09-04 13:44:05 -0400
commit849e505debf5077a2e9b374f4e7468109c990bef (patch)
tree8098a476235926cb6a6c1bc6fe9ba19e564efdd6
parentb53ab97150314674edc25508f4fc528be2baa73f (diff)
downloadu-boot-849e505debf5077a2e9b374f4e7468109c990bef.zip
u-boot-849e505debf5077a2e9b374f4e7468109c990bef.tar.gz
u-boot-849e505debf5077a2e9b374f4e7468109c990bef.tar.bz2
riscv: Rework riscv_cpu_probe for current event macros
This function should now be a EVENT_SPY_SIMPLE call, update it. Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--arch/riscv/cpu/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv/cpu/cpu.c b/arch/riscv/cpu/cpu.c
index d64aa33..cfe9fdc 100644
--- a/arch/riscv/cpu/cpu.c
+++ b/arch/riscv/cpu/cpu.c
@@ -66,7 +66,7 @@ static inline bool supports_extension(char ext)
#endif /* CONFIG_CPU */
}
-static int riscv_cpu_probe(void *ctx, struct event *event)
+static int riscv_cpu_probe(void)
{
#ifdef CONFIG_CPU
int ret;
@@ -79,7 +79,7 @@ static int riscv_cpu_probe(void *ctx, struct event *event)
return 0;
}
-EVENT_SPY(EVT_DM_POST_INIT_R, riscv_cpu_probe);
+EVENT_SPY_SIMPLE(EVT_DM_POST_INIT_R, riscv_cpu_probe);
/*
* This is called on secondary harts just after the IPI is init'd. Currently