drm: unexport drm_global_mutex
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 Sep 2014 10:43:54 +0000 (12:43 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 12 Sep 2014 09:19:47 +0000 (11:19 +0200)
commit44af3f5c6a2dc0358121b5ecf272361b3290649e
tree1177a0cc532420d159b8aab863c7578a0b320802
parent67d0ec4e885cd2af861a14bb9bd59fd23e9644ae
drm: unexport drm_global_mutex

Drivers really, really have no business even looking at this lock. And
thankfully they don't.

So unexport it and move the declaration to drm_internal.h.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_fops.c
drivers/gpu/drm/drm_internal.h
drivers/gpu/drm/drm_lock.c
include/drm/drmP.h