projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a1a310
)
gpu: host1x: Staticize host1x_syncpt_fence_ops
author
Thierry Reding
<treding@nvidia.com>
Fri, 4 Nov 2022 13:29:18 +0000
(14:29 +0100)
committer
Thierry Reding
<treding@nvidia.com>
Fri, 25 Nov 2022 15:14:59 +0000
(16:14 +0100)
This structure is never used outside the file, so make it locally
scoped.
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/fence.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/host1x/fence.c
b/drivers/gpu/host1x/fence.c
index ecab72882192903ef400da94cc0d95f8b7a48d31..df428bcbae698877f2bc0ff0828eb9cb62d8dfe9 100644
(file)
--- 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,