patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / drivers / char / drm / drm_fops.h
index dac209f..48ceabd 100644 (file)
@@ -72,6 +72,8 @@ int DRM(open_helper)(struct inode *inode, struct file *filp, drm_device_t *dev)
        priv->authenticated = capable(CAP_SYS_ADMIN);
        priv->lock_count    = 0;
 
+       DRIVER_OPEN_HELPER( priv, dev );
+
        down(&dev->struct_sem);
        if (!dev->file_last) {
                priv->next      = NULL;