diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-15 00:02:39 +0200 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-21 19:13:43 +0900 |
commit | 68cb588e2f0e2237cc80c276e6d90ea46ac97b7c (patch) | |
tree | 7552fa29691bc5d5b03835c2921c94fd81bbdab5 /drivers/gpu | |
parent | 0458c0546cbed4a1bcaa9eec8b69b8216ae73416 (diff) | |
download | linux-3.10-68cb588e2f0e2237cc80c276e6d90ea46ac97b7c.tar.gz linux-3.10-68cb588e2f0e2237cc80c276e6d90ea46ac97b7c.tar.bz2 linux-3.10-68cb588e2f0e2237cc80c276e6d90ea46ac97b7c.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')
-rw-r--r-- | drivers/gpu/drm/drm_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c index ae67e1b1143..58e27565add 100644 --- a/drivers/gpu/drm/drm_gem.c +++ b/drivers/gpu/drm/drm_gem.c @@ -294,7 +294,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)) |