diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-24 06:07:46 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-24 14:12:33 (GMT) |
commit | e55d92b92d240189241c22bfdfc885d4225a4d61 (patch) | |
tree | f29095ec817db02a1e40349b0c6b136e0172e2b4 /drivers/staging/rtl8187se/r8180_core.c | |
parent | e772aed369779c98f44e83ccd7fb1b713953cd09 (diff) | |
download | linux-fsl-qoriq-e55d92b92d240189241c22bfdfc885d4225a4d61.tar.xz |
get rid of create_proc_entry() abuses - proc_mkdir() is there for purpose
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/staging/rtl8187se/r8180_core.c')
-rw-r--r-- | drivers/staging/rtl8187se/r8180_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8187se/r8180_core.c b/drivers/staging/rtl8187se/r8180_core.c index bae7d85..4c6651a 100644 --- a/drivers/staging/rtl8187se/r8180_core.c +++ b/drivers/staging/rtl8187se/r8180_core.c @@ -307,7 +307,7 @@ static int proc_get_stats_tx(char *page, char **start, void rtl8180_proc_module_init(void) { DMESG("Initializing proc filesystem"); - rtl8180_proc = create_proc_entry(RTL8180_MODULE_NAME, S_IFDIR, init_net.proc_net); + rtl8180_proc = proc_mkdir(RTL8180_MODULE_NAME, init_net.proc_net); } void rtl8180_proc_module_remove(void) |