aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/drm_fops.c1
-rw-r--r--drivers/gpu/drm/drm_internal.h1
-rw-r--r--drivers/gpu/drm/drm_lock.c1
-rw-r--r--include/drm/drmP.h1
4 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_fops.c b/drivers/gpu/drm/drm_fops.c
index 51a77a767e66..3e6694633f42 100644
--- a/drivers/gpu/drm/drm_fops.c
+++ b/drivers/gpu/drm/drm_fops.c
@@ -43,7 +43,6 @@
43 43
44/* from BKL pushdown */ 44/* from BKL pushdown */
45DEFINE_MUTEX(drm_global_mutex); 45DEFINE_MUTEX(drm_global_mutex);
46EXPORT_SYMBOL(drm_global_mutex);
47 46
48static int drm_open_helper(struct file *filp, struct drm_minor *minor); 47static int drm_open_helper(struct file *filp, struct drm_minor *minor);
49 48
diff --git a/drivers/gpu/drm/drm_internal.h b/drivers/gpu/drm/drm_internal.h
index a71cf4b839f2..d6dc75534304 100644
--- a/drivers/gpu/drm/drm_internal.h
+++ b/drivers/gpu/drm/drm_internal.h
@@ -25,6 +25,7 @@
25extern unsigned int drm_timestamp_monotonic; 25extern unsigned int drm_timestamp_monotonic;
26 26
27/* drm_fops.c */ 27/* drm_fops.c */
28extern struct mutex drm_global_mutex;
28int drm_lastclose(struct drm_device *dev); 29int drm_lastclose(struct drm_device *dev);
29 30
30/* drm_pci.c */ 31/* drm_pci.c */
diff --git a/drivers/gpu/drm/drm_lock.c b/drivers/gpu/drm/drm_lock.c
index 727b032292b4..f861361a635e 100644
--- a/drivers/gpu/drm/drm_lock.c
+++ b/drivers/gpu/drm/drm_lock.c
@@ -36,6 +36,7 @@
36#include <linux/export.h> 36#include <linux/export.h>
37#include <drm/drmP.h> 37#include <drm/drmP.h>
38#include "drm_legacy.h" 38#include "drm_legacy.h"
39#include "drm_internal.h"
39 40
40static int drm_notifier(void *priv); 41static int drm_notifier(void *priv);
41 42
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);