diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2005-09-28 17:32:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-29 11:46:26 -0400 |
commit | 666002218d59db271e5c1ede1d80227170c51987 (patch) | |
tree | 1fadcb278c817ce56a653e5c3c58637f5056feec /drivers/isdn/hysdn | |
parent | ecba97d4aacf4e80c56eb73e39af0369cb8539a4 (diff) |
[PATCH] proc_mkdir() should be used to create procfs directories
A bunch of create_proc_dir_entry() calls creating directories had crept
in since the last sweep; converted to proc_mkdir().
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn/hysdn')
-rw-r--r-- | drivers/isdn/hysdn/hysdn_procconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hysdn/hysdn_procconf.c b/drivers/isdn/hysdn/hysdn_procconf.c index 5da507e532fc..639582f61f41 100644 --- a/drivers/isdn/hysdn/hysdn_procconf.c +++ b/drivers/isdn/hysdn/hysdn_procconf.c | |||
@@ -394,7 +394,7 @@ hysdn_procconf_init(void) | |||
394 | hysdn_card *card; | 394 | hysdn_card *card; |
395 | uchar conf_name[20]; | 395 | uchar conf_name[20]; |
396 | 396 | ||
397 | hysdn_proc_entry = create_proc_entry(PROC_SUBDIR_NAME, S_IFDIR | S_IRUGO | S_IXUGO, proc_net); | 397 | hysdn_proc_entry = proc_mkdir(PROC_SUBDIR_NAME, proc_net); |
398 | if (!hysdn_proc_entry) { | 398 | if (!hysdn_proc_entry) { |
399 | printk(KERN_ERR "HYSDN: unable to create hysdn subdir\n"); | 399 | printk(KERN_ERR "HYSDN: unable to create hysdn subdir\n"); |
400 | return (-1); | 400 | return (-1); |