From 36356df3cbca8e7e703afadf91046214d7755a07 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 11 Nov 2005 08:59:57 +0000 Subject: A bunch of create_proc_dir_entry() calls creating directories had crept in since the last sweep; converted to proc_mkdir(). From: Al Viro (via kernel) --- linux-core/drm_proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-core/drm_proc.c') diff --git a/linux-core/drm_proc.c b/linux-core/drm_proc.c index 3e2b3ba0..8e9c4759 100644 --- a/linux-core/drm_proc.c +++ b/linux-core/drm_proc.c @@ -95,7 +95,7 @@ int drm_proc_init(drm_device_t * dev, int minor, char name[64]; sprintf(name, "%d", minor); - *dev_root = create_proc_entry(name, S_IFDIR, root); + *dev_root = proc_mkdir(name, root); if (!*dev_root) { DRM_ERROR("Cannot create /proc/dri/%s\n", name); return -1; -- cgit v1.2.3