projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
021ada7
)
rtl8192e: don't use create_proc_entry() for directories
author
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 29 Mar 2013 23:30:06 +0000
(19:30 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 9 Apr 2013 18:13:06 +0000
(14:13 -0400)
proc_mkdir() is there for purpose...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/rtl8192e/rtllib_module.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rtl8192e/rtllib_module.c
b/drivers/staging/rtl8192e/rtllib_module.c
index f9dae958a5d437f6a51e6d826be5552826646b5d..40b6d809e01e9621d5dfe505507d5b7cda161495 100644
(file)
--- 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");