A quick look at the code To use inicalls in the hsw2020 repository you need to include declare your init function as device_initcall() or otherwise typedef int (*initcall_t)(void); #define __initcall(level,fn) static initcall_t __initcall_ ## fn __attribute__((used, __section__(".init" level))) = fn #define core_initcall(fn) __initcall("1", fn) /* ... */ #define late_initcall(fn) __initcall("7", fn)