aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian König <[email protected]>2021-02-15 16:17:26 +0100
committerChristian König <[email protected]>2021-04-09 15:26:27 +0200
commitd4e6823609442953f272dd25507b82b9a3f76ee5 (patch)
tree3feef85087d193a03bebad763b38a5e81400502a
parente8b8b0df8694e39ea6bbbdb9e2fcfa78a61e2e42 (diff)
drm/ttm: make global mutex and use count static
Only needed during device hot plug and remove and not exported. Signed-off-by: Christian König <[email protected]> Suggested-by: Bernard <[email protected]> Acked-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r--drivers/gpu/drm/ttm/ttm_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_device.c b/drivers/gpu/drm/ttm/ttm_device.c
index 9b787b3caeb5..1f2024164d72 100644
--- a/drivers/gpu/drm/ttm/ttm_device.c
+++ b/drivers/gpu/drm/ttm/ttm_device.c
@@ -39,8 +39,8 @@
/**
* ttm_global_mutex - protecting the global state
*/
-DEFINE_MUTEX(ttm_global_mutex);
-unsigned ttm_glob_use_count;
+static DEFINE_MUTEX(ttm_global_mutex);
+static unsigned ttm_glob_use_count;
struct ttm_global ttm_glob;
EXPORT_SYMBOL(ttm_glob);