Commit e2b2c7ca authored by Philipp Zabel's avatar Philipp Zabel Committed by Ezequiel Garcia
Browse files

drm/sched: make fence ops static



drm_sched_fence_ops_scheduled/finished are not referenced outside of
sched_fence.c, make them static.
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 0094158e
......@@ -130,13 +130,13 @@ static void drm_sched_fence_release_finished(struct dma_fence *f)
dma_fence_put(&fence->scheduled);
}
const struct dma_fence_ops drm_sched_fence_ops_scheduled = {
static const struct dma_fence_ops drm_sched_fence_ops_scheduled = {
.get_driver_name = drm_sched_fence_get_driver_name,
.get_timeline_name = drm_sched_fence_get_timeline_name,
.release = drm_sched_fence_release_scheduled,
};
const struct dma_fence_ops drm_sched_fence_ops_finished = {
static const struct dma_fence_ops drm_sched_fence_ops_finished = {
.get_driver_name = drm_sched_fence_get_driver_name,
.get_timeline_name = drm_sched_fence_get_timeline_name,
.release = drm_sched_fence_release_finished,
......
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