git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
patch-2_6_7-vs1_9_1_12
[linux-2.6.git]
/
drivers
/
char
/
drm
/
drm_fops.h
diff --git
a/drivers/char/drm/drm_fops.h
b/drivers/char/drm/drm_fops.h
index
dac209f
..
48ceabd
100644
(file)
--- a/
drivers/char/drm/drm_fops.h
+++ b/
drivers/char/drm/drm_fops.h
@@
-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;