Skip to content

Commit

Permalink
rtl8192e: don't use create_proc_entry() for directories
Browse files Browse the repository at this point in the history
proc_mkdir() is there for purpose...

Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Apr 9, 2013
1 parent 021ada7 commit e3e7b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192e/rtllib_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ int __init rtllib_init(void)
struct proc_dir_entry *e;

rtllib_debug_level = debug;
rtllib_proc = create_proc_entry(DRV_NAME, S_IFDIR, init_net.proc_net);
rtllib_proc = proc_mkdir(DRV_NAME, init_net.proc_net);
if (rtllib_proc == NULL) {
RTLLIB_ERROR("Unable to create " DRV_NAME
" proc directory\n");
Expand Down

0 comments on commit e3e7b40

Please sign in to comment.