diff options
-rw-r--r-- | drivers/gpu/drm/drm_fops.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_internal.h | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_lock.c | 1 | ||||
-rw-r--r-- | include/drm/drmP.h | 1 |
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 */ |
45 | DEFINE_MUTEX(drm_global_mutex); | 45 | DEFINE_MUTEX(drm_global_mutex); |
46 | EXPORT_SYMBOL(drm_global_mutex); | ||
47 | 46 | ||
48 | static int drm_open_helper(struct file *filp, struct drm_minor *minor); | 47 | static 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 @@ | |||
25 | extern unsigned int drm_timestamp_monotonic; | 25 | extern unsigned int drm_timestamp_monotonic; |
26 | 26 | ||
27 | /* drm_fops.c */ | 27 | /* drm_fops.c */ |
28 | extern struct mutex drm_global_mutex; | ||
28 | int drm_lastclose(struct drm_device *dev); | 29 | int 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 | ||
40 | static int drm_notifier(void *priv); | 41 | static 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, | |||
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); |