diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-10 06:43:54 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-12 05:19:47 -0400 |
commit | 44af3f5c6a2dc0358121b5ecf272361b3290649e (patch) | |
tree | 1177a0cc532420d159b8aab863c7578a0b320802 /include | |
parent | 67d0ec4e885cd2af861a14bb9bd59fd23e9644ae (diff) |
drm: unexport drm_global_mutex
Drivers really, really have no business even looking at this lock. And
thankfully they don't.
So unexport it and move the declaration to drm_internal.h.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/drmP.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 52198870bba7..ef675dbaccee 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -1087,7 +1087,6 @@ extern long drm_compat_ioctl(struct file *filp, | |||
1087 | extern bool drm_ioctl_flags(unsigned int nr, unsigned int *flags); | 1087 | extern bool drm_ioctl_flags(unsigned int nr, unsigned int *flags); |
1088 | 1088 | ||
1089 | /* Device support (drm_fops.h) */ | 1089 | /* Device support (drm_fops.h) */ |
1090 | extern struct mutex drm_global_mutex; | ||
1091 | extern int drm_open(struct inode *inode, struct file *filp); | 1090 | extern int drm_open(struct inode *inode, struct file *filp); |
1092 | extern ssize_t drm_read(struct file *filp, char __user *buffer, | 1091 | extern ssize_t drm_read(struct file *filp, char __user *buffer, |
1093 | size_t count, loff_t *offset); | 1092 | size_t count, loff_t *offset); |