summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_gem.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-15 00:02:39 +0200
committerDave Airlie <airlied@redhat.com>2013-08-21 04:53:46 +0200
commitbecee2a57fd2b64c53ebef58277fbca895cf8ec1 (patch)
tree659fb5f365394aa3a898e7ba5aa950f527aecdec /drivers/gpu/drm/drm_gem.c
parentdrm/prime: fix error path in drm_gem_prime_fd_to_handle (diff)
downloadlinux-becee2a57fd2b64c53ebef58277fbca895cf8ec1.tar.xz
linux-becee2a57fd2b64c53ebef58277fbca895cf8ec1.zip
drm/gem: make drm_gem_object_handle_unreference_unlocked static
No one outside of drm should use this, the official interfaces are drm_gem_handle_create and drm_gem_handle_delete. The handle refcounting is purely an implementation detail of gem. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_gem.c')
-rw-r--r--drivers/gpu/drm/drm_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c
index b8a8132becef..52548fd34b15 100644
--- a/drivers/gpu/drm/drm_gem.c
+++ b/drivers/gpu/drm/drm_gem.c
@@ -231,7 +231,7 @@ static void drm_gem_object_handle_free(struct drm_gem_object *obj)
}
}
-void
+static void
drm_gem_object_handle_unreference_unlocked(struct drm_gem_object *obj)
{
if (WARN_ON(obj->handle_count == 0))