aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drm_proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/drm_proc.c')
-rw-r--r--drivers/char/drm/drm_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_proc.c b/drivers/char/drm/drm_proc.c
index 8ec2156b97a9..3f452f763f0f 100644
--- a/drivers/char/drm/drm_proc.c
+++ b/drivers/char/drm/drm_proc.c
@@ -97,7 +97,7 @@ int drm_proc_init(drm_device_t * dev, int minor,
97 char name[64]; 97 char name[64];
98 98
99 sprintf(name, "%d", minor); 99 sprintf(name, "%d", minor);
100 *dev_root = create_proc_entry(name, S_IFDIR, root); 100 *dev_root = proc_mkdir(name, root);
101 if (!*dev_root) { 101 if (!*dev_root) {
102 DRM_ERROR("Cannot create /proc/dri/%s\n", name); 102 DRM_ERROR("Cannot create /proc/dri/%s\n", name);
103 return -1; 103 return -1;