]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/disp/gv100: make gv100_disp_wimm static
authorTom Rix <trix@redhat.com>
Mon, 25 Apr 2022 13:00:50 +0000 (09:00 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 26 Apr 2022 17:47:50 +0000 (13:47 -0400)
commita52ffa28c6e01094a0cc60e524e2ea94a1513aa9
tree7fd4d42f1add9ecd6e146135642a7d7933f6678d
parent8620bb71e5b05c902e1bbc26f683807e9abaca1f
drm/nouveau/disp/gv100: make gv100_disp_wimm static

Sparse reports this issue
wimmgv100.c:39:1: warning: symbol 'gv100_disp_wimm' was not declared. Should it be static?

This variable is only used in wimmgv100.c.  Single file variables should be static.
So use static as its storage-class specifier.

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220425130050.1643103-1-trix@redhat.com
drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c