aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-09-10 06:43:54 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-09-12 05:19:47 -0400
commit44af3f5c6a2dc0358121b5ecf272361b3290649e (patch)
tree1177a0cc532420d159b8aab863c7578a0b320802 /include
parent67d0ec4e885cd2af861a14bb9bd59fd23e9644ae (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.h1
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,
1087extern bool drm_ioctl_flags(unsigned int nr, unsigned int *flags); 1087extern bool drm_ioctl_flags(unsigned int nr, unsigned int *flags);
1088 1088
1089 /* Device support (drm_fops.h) */ 1089 /* Device support (drm_fops.h) */
1090extern struct mutex drm_global_mutex;
1091extern int drm_open(struct inode *inode, struct file *filp); 1090extern int drm_open(struct inode *inode, struct file *filp);
1092extern ssize_t drm_read(struct file *filp, char __user *buffer, 1091extern ssize_t drm_read(struct file *filp, char __user *buffer,
1093 size_t count, loff_t *offset); 1092 size_t count, loff_t *offset);