Пример #1
0
static int __init dummy_init(void) {
        struct proc_dir_entry *proc_dummy;

        proc_dummy = proc_mkdir("dummy_dep", 0);
        dummy_func_test();
      return 0;
}
Пример #2
0
/* Initialization routine of module */
int
init_module (void)
{
	/*
	 * Call function of other module, does nothing, used to create
	 * dependency with other module
	 */
	dummy_func_test();
	return 0;
}