From: Thierry Reding Date: Fri, 4 Nov 2022 13:29:18 +0000 (+0100) Subject: gpu: host1x: Staticize host1x_syncpt_fence_ops X-Git-Tag: v6.2-rc1~124^2~7^2 X-Git-Url: https://repo.jachan.dev/linux.git/commitdiff_plain/08fef75f5e17c80cdb9ab56d65685cb43c8e44d3 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 --- 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,