mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 15:41:52 +02:00
drm/i915/vma: constify unbind_fence_ops
unbind_fence_ops can be const and placed in rodata. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Jouni Högander <jouni.hogander@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230818112758.3586545-1-jani.nikula@intel.com
This commit is contained in:
parent
5d5fea7c79
commit
f1f959d523
|
|
@ -94,7 +94,7 @@ static void unbind_fence_release(struct dma_fence *fence)
|
|||
call_rcu(&fence->rcu, unbind_fence_free_rcu);
|
||||
}
|
||||
|
||||
static struct dma_fence_ops unbind_fence_ops = {
|
||||
static const struct dma_fence_ops unbind_fence_ops = {
|
||||
.get_driver_name = get_driver_name,
|
||||
.get_timeline_name = get_timeline_name,
|
||||
.release = unbind_fence_release,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user