diff options
author | ruanjinjie <ruanjinjie@huawei.com> | 2022-09-26 05:29:59 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2022-11-25 18:14:59 +0300 |
commit | 2a1a310c0cfeabbbf4a9109ce9563e1059731413 (patch) | |
tree | e268fb411f7c89c0dc8b7fdf57e90691f9386aa6 /drivers/gpu | |
parent | a624bd9cbdcfdc4e0cf68bb0061af6de366ebd7d (diff) | |
download | linux-2a1a310c0cfeabbbf4a9109ce9563e1059731413.tar.xz |
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 <ruanjinjie@huawei.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-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, |