summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tegra
diff options
context:
space:
mode:
authorruanjinjie <ruanjinjie@huawei.com>2022-09-26 05:29:59 +0300
committerThierry Reding <treding@nvidia.com>2022-11-25 18:14:59 +0300
commit2a1a310c0cfeabbbf4a9109ce9563e1059731413 (patch)
treee268fb411f7c89c0dc8b7fdf57e90691f9386aa6 /drivers/gpu/drm/tegra
parenta624bd9cbdcfdc4e0cf68bb0061af6de366ebd7d (diff)
downloadlinux-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/drm/tegra')
-rw-r--r--drivers/gpu/drm/tegra/submit.c2
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,