Commit d4e68236 authored by Christian König's avatar Christian König

drm/ttm: make global mutex and use count static

Only needed during device hot plug and remove and not exported.
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Suggested-by: default avatarBernard <bernard@vivo.com>
Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210409110730.2958-1-christian.koenig@amd.com
parent e8b8b0df
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
/** /**
* ttm_global_mutex - protecting the global state * ttm_global_mutex - protecting the global state
*/ */
DEFINE_MUTEX(ttm_global_mutex); static DEFINE_MUTEX(ttm_global_mutex);
unsigned ttm_glob_use_count; static unsigned ttm_glob_use_count;
struct ttm_global ttm_glob; struct ttm_global ttm_glob;
EXPORT_SYMBOL(ttm_glob); EXPORT_SYMBOL(ttm_glob);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment