From: Jiapeng Chong Date: Fri, 26 Feb 2021 10:07:15 +0000 (+0800) Subject: drm/nouveau/fifo: make tu102_fifo_runlist static X-Git-Tag: v6.6.17~3937^2~23^2~3448 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=170dcb67a208b6ba93dc18be607b90f82520749a;p=platform%2Fkernel%2Flinux-rpi.git drm/nouveau/fifo: make tu102_fifo_runlist static Fix the following sparse warning: drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c:53:1: warning: symbol 'tu102_fifo_runlist' was not declared. Should it be static? Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong Signed-off-by: Ben Skeggs Reviewed-by: Karol Herbst Signed-off-by: Karol Herbst Link: https://gitlab.freedesktop.org/drm/nouveau/-/merge_requests/10 --- diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c index e417044..260b197 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c @@ -49,7 +49,7 @@ tu102_fifo_runlist_commit(struct gk104_fifo *fifo, int runl, /*XXX: how to wait? can you even wait? */ } -const struct gk104_fifo_runlist_func +static const struct gk104_fifo_runlist_func tu102_fifo_runlist = { .size = 16, .cgrp = gv100_fifo_runlist_cgrp,