OSDN Git Service

allow unprivileged clients to use the GETPARAM ioctl (Wang WenRui)
authorMichel Daenzer <michel@daenzer.net>
Sat, 23 Nov 2002 11:58:33 +0000 (11:58 +0000)
committerMichel Daenzer <michel@daenzer.net>
Sat, 23 Nov 2002 11:58:33 +0000 (11:58 +0000)
shared/r128.h

index cdf18ff..29b26cd 100644 (file)
@@ -71,7 +71,7 @@
    [DRM_IOCTL_NR(DRM_IOCTL_R128_DEPTH)]      = { r128_cce_depth,    1, 0 }, \
    [DRM_IOCTL_NR(DRM_IOCTL_R128_STIPPLE)]    = { r128_cce_stipple,  1, 0 }, \
    [DRM_IOCTL_NR(DRM_IOCTL_R128_INDIRECT)]   = { r128_cce_indirect, 1, 1 }, \
-   [DRM_IOCTL_NR(DRM_IOCTL_R128_GETPARAM)]   = { r128_getparam, 1, 1 },
+   [DRM_IOCTL_NR(DRM_IOCTL_R128_GETPARAM)]   = { r128_getparam, 1, 0 },
 
 /* Driver customization:
  */