diff options
Diffstat (limited to 'bsd/drm_fops.h')
-rw-r--r-- | bsd/drm_fops.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bsd/drm_fops.h b/bsd/drm_fops.h index 3c4553de..55ef8ce0 100644 --- a/bsd/drm_fops.h +++ b/bsd/drm_fops.h @@ -88,6 +88,9 @@ int DRM(open_helper)(dev_t kdev, int flags, int fmt, DRM_STRUCTPROC *p, priv->devXX = dev; priv->ioctl_count = 0; priv->authenticated = !DRM_SUSER(p); + + DRIVER_OPEN_HELPER( priv, dev ); + TAILQ_INSERT_TAIL(&dev->files, priv, link); } DRM_UNLOCK(); |