drm: add control node checks missing from kms merge
authorJonas Bonn <jonas@southpole.se>
Fri, 24 Apr 2009 05:05:02 +0000 (15:05 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 24 Apr 2009 05:05:02 +0000 (15:05 +1000)
commit59738d5c974d81b566cb53c203f5db268b7b3545
tree7322de299e0a3e3335e8ed0d96fa3b1a63c90dfc
parentc964b129425c98cb37da365e772bdbe5281f3a05
drm: add control node checks missing from kms merge

This line that checks the DRM_CONTROL_ALLOW flag was missed from the KMS
merge.  Re-add the check on the IOCTL, as this is currently the only use of
this flag.

Signed-off-by: Jonas Bonn <jonas@southpole.se>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_drv.c