Skip to content

Commit b8aa529

Browse files
ruanjinjiekarolherbst
authored andcommitted
drm/nouveau/disp: make gv100_disp_core_mthd_base static
The symbol is not used outside of the file, so mark it static. Fixes the following warning: ./drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c:591:1: warning: symbol 'gv100_disp_core_mthd_base' was not declared. Should it be static? Signed-off-by: ruanjinjie <[email protected]> Reviewed-by: Karol Herbst <[email protected]> Signed-off-by: Karol Herbst <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent ac9aa21 commit b8aa529

File tree

1 file changed

+1
-1
lines changed
  • drivers/gpu/drm/nouveau/nvkm/engine/disp

1 file changed

+1
-1
lines changed

drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ gv100_disp_curs = {
606606
.user = 73,
607607
};
608608

609-
const struct nvkm_disp_mthd_list
609+
static const struct nvkm_disp_mthd_list
610610
gv100_disp_core_mthd_base = {
611611
.mthd = 0x0000,
612612
.addr = 0x000000,

0 commit comments

Comments
 (0)