summaryrefslogtreecommitdiff
path: root/zephyr/program/geralt/src/hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/program/geralt/src/hooks.c')
-rw-r--r--zephyr/program/geralt/src/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/program/geralt/src/hooks.c b/zephyr/program/geralt/src/hooks.c
index fd106732ae..c5c769e8f9 100644
--- a/zephyr/program/geralt/src/hooks.c
+++ b/zephyr/program/geralt/src/hooks.c
@@ -74,7 +74,7 @@ static void board_suspend_handler(struct ap_power_ev_callback *cb,
gpio_pin_set_dt(GPIO_DT_FROM_NODELABEL(gpio_en_5v_usm), value);
}
-static int install_suspend_handler(const struct device *unused)
+static int install_suspend_handler(void)
{
static struct ap_power_ev_callback cb;