summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorWei Yongjun2017-01-12 15:21:57 +0100
committerDaniel Vetter2017-01-23 08:59:30 +0100
commit899cc5f14054267b89ebeef4d3c749473ab28eed (patch)
tree52f2a60dd92cbb1cf369ef5b44bb7ef0b3624e6b /drivers/gpu/drm
parentdrm: qxl: Open code teardown function for qxl (diff)
downloadkernel-qcow2-linux-899cc5f14054267b89ebeef4d3c749473ab28eed.tar.gz
kernel-qcow2-linux-899cc5f14054267b89ebeef4d3c749473ab28eed.tar.xz
kernel-qcow2-linux-899cc5f14054267b89ebeef4d3c749473ab28eed.zip
drm/atomic: make release_crtc_commit() static
Fixes the following sparse warning: drivers/gpu/drm/drm_atomic_helper.c:1360:6: warning: symbol 'release_crtc_commit' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20170112142157.14684-1-weiyj.lk@gmail.com
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/drm_atomic_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c
index 3cfe2cbb1fe6..d73f6d462ec4 100644
--- a/drivers/gpu/drm/drm_atomic_helper.c
+++ b/drivers/gpu/drm/drm_atomic_helper.c
@@ -1355,7 +1355,7 @@ static int stall_checks(struct drm_crtc *crtc, bool nonblock)
return ret < 0 ? ret : 0;
}
-void release_crtc_commit(struct completion *completion)
+static void release_crtc_commit(struct completion *completion)
{
struct drm_crtc_commit *commit = container_of(completion,
typeof(*commit),