提交 d4e68236 编写于 作者: C 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: NChristian König <christian.koenig@amd.com>
Suggested-by: NBernard <bernard@vivo.com>
Acked-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210409110730.2958-1-christian.koenig@amd.com
上级 e8b8b0df
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册