diff options
author | ruanjinjie <[email protected]> | 2022-09-26 10:29:59 +0800 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2022-11-25 16:14:59 +0100 |
commit | 2a1a310c0cfeabbbf4a9109ce9563e1059731413 (patch) | |
tree | e268fb411f7c89c0dc8b7fdf57e90691f9386aa6 | |
parent | a624bd9cbdcfdc4e0cf68bb0061af6de366ebd7d (diff) |
drm/tegra: Make gather_bo_ops static
The symbol is not used outside of the file, so mark it static.
Fixes the following warning:
./drivers/gpu/drm/tegra/submit.c:136:28: warning: symbol 'gather_bo_ops'
was not declared. Should it be static?
Signed-off-by: ruanjinjie <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
-rw-r--r-- | drivers/gpu/drm/tegra/submit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/submit.c b/drivers/gpu/drm/tegra/submit.c index 84041fc8239a..066f88564169 100644 --- a/drivers/gpu/drm/tegra/submit.c +++ b/drivers/gpu/drm/tegra/submit.c @@ -133,7 +133,7 @@ static void gather_bo_munmap(struct host1x_bo *host_bo, void *addr) { } -const struct host1x_bo_ops gather_bo_ops = { +static const struct host1x_bo_ops gather_bo_ops = { .get = gather_bo_get, .put = gather_bo_put, .pin = gather_bo_pin, |