projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7147e9
)
drm/lima: Make lima_sched_ops static
author
YueHaibing
<yuehaibing@huawei.com>
Tue, 16 Apr 2019 14:43:53 +0000
(22:43 +0800)
committer
Qiang Yu
<yuq825@gmail.com>
Wed, 17 Apr 2019 12:56:40 +0000
(20:56 +0800)
Fix sparse warning:
drivers/gpu/drm/lima/lima_sched.c:356:36: warning:
symbol 'lima_sched_ops' was not declared. Should it be static?
Fixes: a1d2a6339961 ("drm/lima: driver for ARM Mali4xx GPUs")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20190416144353.34024-1-yuehaibing@huawei.com
drivers/gpu/drm/lima/lima_sched.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/lima/lima_sched.c
b/drivers/gpu/drm/lima/lima_sched.c
index e253d031fb3d092a17377fa27c071dbf315d5f54..d53bd45f8d96d6834a924a53962f720ba303fc47 100644
(file)
--- a/
drivers/gpu/drm/lima/lima_sched.c
+++ b/
drivers/gpu/drm/lima/lima_sched.c
@@
-311,7
+311,7
@@
static void lima_sched_free_job(struct drm_sched_job *job)
kmem_cache_free(pipe->task_slab, task);
}
-const struct drm_sched_backend_ops lima_sched_ops = {
+
static
const struct drm_sched_backend_ops lima_sched_ops = {
.dependency = lima_sched_dependency,
.run_job = lima_sched_run_job,
.timedout_job = lima_sched_timedout_job,