diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-03-29 23:30:06 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-09 18:13:06 (GMT) |
commit | e3e7b40c192b4e31eb7043867ea87f834076b1e2 (patch) | |
tree | a022ef4f79a3ec26beb75a8303da8dc0e6099673 /drivers/staging | |
parent | 021ada7dff22d0d9540ff596cb0f8bb866755ee1 (diff) | |
download | linux-fsl-qoriq-e3e7b40c192b4e31eb7043867ea87f834076b1e2.tar.xz |
rtl8192e: don't use create_proc_entry() for directories
proc_mkdir() is there for purpose...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_module.c b/drivers/staging/rtl8192e/rtllib_module.c index f9dae95..40b6d80 100644 --- a/drivers/staging/rtl8192e/rtllib_module.c +++ b/drivers/staging/rtl8192e/rtllib_module.c @@ -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"); |