diff options
-rw-r--r-- | drivers/staging/dgrp/dgrp_specproc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/dgrp/dgrp_specproc.c b/drivers/staging/dgrp/dgrp_specproc.c index dddf8a2e396b..556cb3124da6 100644 --- a/drivers/staging/dgrp/dgrp_specproc.c +++ b/drivers/staging/dgrp/dgrp_specproc.c @@ -201,8 +201,7 @@ void dgrp_register_proc(void) /* * Register /proc/dgrp */ - dgrp_proc_dir_entry = proc_create("dgrp", S_IFDIR, NULL, - &dgrp_proc_file_ops); + dgrp_proc_dir_entry = proc_mkdir("dgrp", NULL); register_proc_table(dgrp_table, dgrp_proc_dir_entry); } |