aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/i915_debugfs.c')
-rw-r--r--drivers/gpu/drm/i915/i915_debugfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index c0ce5e44ac3a..183eaac8980a 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -1383,13 +1383,13 @@ static int i915_forcewake_create(struct dentry *root, struct drm_minor *minor)
1383 struct dentry *ent; 1383 struct dentry *ent;
1384 1384
1385 ent = debugfs_create_file("i915_forcewake_user", 1385 ent = debugfs_create_file("i915_forcewake_user",
1386 S_IRWXU, 1386 S_IRUSR,
1387 root, dev, 1387 root, dev,
1388 &i915_forcewake_fops); 1388 &i915_forcewake_fops);
1389 if (IS_ERR(ent)) 1389 if (IS_ERR(ent))
1390 return PTR_ERR(ent); 1390 return PTR_ERR(ent);
1391 1391
1392 return 0; 1392 return drm_add_fake_info_node(minor, ent, &i915_forcewake_fops);
1393} 1393}
1394 1394
1395static struct drm_info_list i915_debugfs_list[] = { 1395static struct drm_info_list i915_debugfs_list[] = {