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/char/drm/drm_drv.c | |
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/char/drm/drm_drv.c')
-rw-r--r-- | drivers/char/drm/drm_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_drv.c b/drivers/char/drm/drm_drv.c index 6ba48f346fcf..041bb47b5c39 100644 --- a/drivers/char/drm/drm_drv.c +++ b/drivers/char/drm/drm_drv.c | |||
@@ -376,7 +376,7 @@ static int __init drm_core_init(void) | |||
376 | goto err_p2; | 376 | goto err_p2; |
377 | } | 377 | } |
378 | 378 | ||
379 | drm_proc_root = create_proc_entry("dri", S_IFDIR, NULL); | 379 | drm_proc_root = proc_mkdir("dri", NULL); |
380 | if (!drm_proc_root) { | 380 | if (!drm_proc_root) { |
381 | DRM_ERROR("Cannot create /proc/dri\n"); | 381 | DRM_ERROR("Cannot create /proc/dri\n"); |
382 | ret = -1; | 382 | ret = -1; |