summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/kernel/drm/drm_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/drm/drm_drv.h b/src/kernel/drm/drm_drv.h
index 772f03e2198..1a1ba36ff4b 100644
--- a/src/kernel/drm/drm_drv.h
+++ b/src/kernel/drm/drm_drv.h
@@ -991,7 +991,7 @@ int DRM(ioctl)( struct inode *inode, struct file *filp,
if ( !func ) {
DRM_DEBUG( "no function\n" );
retcode = -EINVAL;
- } else if ( ( ioctl->root_only && !capable( CAP_SYS_ADMIN ) )||
+ } else if ( ( 0/*ioctl->root_only*/ && !capable( CAP_SYS_ADMIN ) )||
( ioctl->auth_needed && !priv->authenticated ) ) {
retcode = -EACCES;
} else {