Skip to content

Commit

Permalink
gpu: host1x: Staticize host1x_syncpt_fence_ops
Browse files Browse the repository at this point in the history
This structure is never used outside the file, so make it locally
scoped.

Signed-off-by: Thierry Reding <treding@nvidia.com>
  • Loading branch information
Thierry Reding committed Nov 25, 2022
1 parent 2a1a310 commit 08fef75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/host1x/fence.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ static void host1x_syncpt_fence_release(struct dma_fence *f)
dma_fence_free(f);
}

const struct dma_fence_ops host1x_syncpt_fence_ops = {
static const struct dma_fence_ops host1x_syncpt_fence_ops = {
.get_driver_name = host1x_syncpt_fence_get_driver_name,
.get_timeline_name = host1x_syncpt_fence_get_timeline_name,
.enable_signaling = host1x_syncpt_fence_enable_signaling,
Expand Down

0 comments on commit 08fef75

Please sign in to comment.