summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/main.c')
-rw-r--r--common/main.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/common/main.c b/common/main.c
index cb6b0b8bbb..6ee477931f 100644
--- a/common/main.c
+++ b/common/main.c
@@ -120,12 +120,8 @@ int main(void)
keyboard_scan_init();
#endif
- /*
- * Initialize other driver modules. These can occur in any order.
- * Non-driver modules with tasks do their inits from their task
- * functions, not here.
- */
- hook_notify(HOOK_INIT);
+ /* Initialize the hook library. This calls HOOK_INIT hooks. */
+ hook_init();
/*
* Print the init time. Not completely accurate because it can't take