aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/drm_sysfs.c')
-rw-r--r--drivers/gpu/drm/drm_sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c
index 0f9ef9bf6730..62c3675045ac 100644
--- a/drivers/gpu/drm/drm_sysfs.c
+++ b/drivers/gpu/drm/drm_sysfs.c
@@ -72,7 +72,7 @@ static int drm_class_resume(struct device *dev)
72 return 0; 72 return 0;
73} 73}
74 74
75static char *drm_devnode(struct device *dev, mode_t *mode) 75static char *drm_devnode(struct device *dev, umode_t *mode)
76{ 76{
77 return kasprintf(GFP_KERNEL, "dri/%s", dev_name(dev)); 77 return kasprintf(GFP_KERNEL, "dri/%s", dev_name(dev));
78} 78}