Commit 500ca2a1 authored by Tom Rix's avatar Tom Rix Committed by Dmitry Baryshkov

drm/msm: change msm_sched_ops from global to static

Smatch reports this issue
msm_ringbuffer.c:43:36: warning: symbol 'msm_sched_ops' was not declared. Should it be static?

msm_sched_ops is only used in msm_ringbuffer.c so change its
storage-class specifier to static.
Signed-off-by: default avatarTom Rix <trix@redhat.com>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/482883/
Link: https://lore.kernel.org/r/20220421131507.1557667-1-trix@redhat.comSigned-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent c46f0d69
...@@ -51,7 +51,7 @@ static void msm_job_free(struct drm_sched_job *job) ...@@ -51,7 +51,7 @@ static void msm_job_free(struct drm_sched_job *job)
msm_gem_submit_put(submit); msm_gem_submit_put(submit);
} }
const struct drm_sched_backend_ops msm_sched_ops = { static const struct drm_sched_backend_ops msm_sched_ops = {
.run_job = msm_job_run, .run_job = msm_job_run,
.free_job = msm_job_free .free_job = msm_job_free
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment