diff --git a/misc-modules/jit.c b/misc-modules/jit.c index e88c76399..9f340fc32 100644 --- a/misc-modules/jit.c +++ b/misc-modules/jit.c @@ -315,8 +315,8 @@ static const struct file_operations jit_tasklet_fops = { int __init jit_init(void) { - proc_create_data("currentime", 0, NULL, - proc_ops_wrapper(&jit_currentime_fops, jit_currentime_pops), NULL); + proc_create("currentime", 0, NULL, + proc_ops_wrapper(&jit_currentime_fops, jit_currentime_pops)); proc_create_data("jitbusy", 0, NULL, proc_ops_wrapper(&jit_fn_fops, jit_fn_pops), (void *)JIT_BUSY); proc_create_data("jitsched", 0, NULL, @@ -326,10 +326,10 @@ int __init jit_init(void) proc_create_data("jitschedto", 0, NULL, proc_ops_wrapper(&jit_fn_fops, jit_fn_pops), (void *)JIT_SCHEDTO); - proc_create_data("jitimer", 0, NULL, - proc_ops_wrapper(&jit_timer_fops, jit_timer_pops), NULL); - proc_create_data("jitasklet", 0, NULL, - proc_ops_wrapper(&jit_tasklet_fops, jit_tasklet_pops), NULL); + proc_create("jitimer", 0, NULL, + proc_ops_wrapper(&jit_timer_fops, jit_timer_pops)); + proc_create("jitasklet", 0, NULL, + proc_ops_wrapper(&jit_tasklet_fops, jit_tasklet_pops)); proc_create_data("jitasklethi", 0, NULL, proc_ops_wrapper(&jit_tasklet_fops, jit_tasklet_pops), (void *)1);