diff --git a/Documentation/init-hooks.txt b/Documentation/init-hooks.txt index 68920b17..af1ccedb 100644 --- a/Documentation/init-hooks.txt +++ b/Documentation/init-hooks.txt @@ -20,9 +20,10 @@ hooks is not guaranteed. 2. Use Case for init hook #include +#include -void hook_test(unsigned int level) +void hook_test(void) { - dbg_printf(DL_EMERG, "hook 1 level: %x\n", level); + dbg_printf(DL_EMERG, "hook test\n"); } -INIT_HOOK(test, hook_test, INIT_LEVEL_PLATFORM - 1) +INIT_HOOK(hook_test, INIT_LEVEL_PLATFORM - 1)