summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2022-11-04 14:29:18 +0100
committerThierry Reding <treding@nvidia.com>2022-11-25 16:14:59 +0100
commit08fef75f5e17c80cdb9ab56d65685cb43c8e44d3 (patch)
tree5ad567150112c873ba1e0b85223eaa89cc022cf6
parent2a1a310c0cfeabbbf4a9109ce9563e1059731413 (diff)
gpu: host1x: Staticize host1x_syncpt_fence_ops
This structure is never used outside the file, so make it locally scoped. Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r--drivers/gpu/host1x/fence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/fence.c b/drivers/gpu/host1x/fence.c
index ecab72882192..df428bcbae69 100644
--- a/drivers/gpu/host1x/fence.c
+++ b/drivers/gpu/host1x/fence.c
@@ -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,