diff options
Diffstat (limited to 'common/switch.c')
-rw-r--r-- | common/switch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/switch.c b/common/switch.c index fb854f63e9..811e4f7d2d 100644 --- a/common/switch.c +++ b/common/switch.c @@ -98,7 +98,7 @@ DECLARE_HOOK(HOOK_INIT, switch_init, HOOK_PRIO_DEFAULT); void switch_interrupt(enum gpio_signal signal) { - hook_call_deferred(switch_update, 0); + hook_call_deferred(&switch_update_data, 0); } static int command_mmapinfo(int argc, char **argv) |