Skip to content

Commit 2a1a310

Browse files
ruanjinjiethierryreding
authored andcommitted
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]>
1 parent a624bd9 commit 2a1a310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/tegra/submit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static void gather_bo_munmap(struct host1x_bo *host_bo, void *addr)
133133
{
134134
}
135135

136-
const struct host1x_bo_ops gather_bo_ops = {
136+
static const struct host1x_bo_ops gather_bo_ops = {
137137
.get = gather_bo_get,
138138
.put = gather_bo_put,
139139
.pin = gather_bo_pin,

0 commit comments

Comments
 (0)