diff options
Diffstat (limited to 'drivers/gpu/drm')
| -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 |
3 files changed, 2 insertions, 1 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 | ||
