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: http://git.ipfire.org/?a=commitdiff_plain;h=08fef75f5e17c80cdb9ab56d65685cb43c8e44d3;p=thirdparty%2Fkernel%2Flinux.git 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 ecab728821929..df428bcbae698 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,