aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_ioc32.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_ioc32.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_ioc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_ioc32.c b/drivers/gpu/drm/nouveau/nouveau_ioc32.c
index c1a7e5a73a26..462679a8fec5 100644
--- a/drivers/gpu/drm/nouveau/nouveau_ioc32.c
+++ b/drivers/gpu/drm/nouveau/nouveau_ioc32.c
@@ -57,7 +57,7 @@ long nouveau_compat_ioctl(struct file *filp, unsigned int cmd,
57 return drm_compat_ioctl(filp, cmd, arg); 57 return drm_compat_ioctl(filp, cmd, arg);
58 58
59#if 0 59#if 0
60 if (nr < DRM_COMMAND_BASE + DRM_ARRAY_SIZE(mga_compat_ioctls)) 60 if (nr < DRM_COMMAND_BASE + ARRAY_SIZE(mga_compat_ioctls))
61 fn = nouveau_compat_ioctls[nr - DRM_COMMAND_BASE]; 61 fn = nouveau_compat_ioctls[nr - DRM_COMMAND_BASE];
62#endif 62#endif
63 if (fn != NULL) 63 if (fn != NULL)