drm/nouveau/disp/gv100: make gv100_disp_wndw and gv100_disp_wndw_mthd static
authorTom Rix <trix@redhat.com>
Mon, 25 Apr 2022 13:13:08 +0000 (09:13 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 26 Apr 2022 17:48:16 +0000 (13:48 -0400)
commit7f7166d0a84d20a4a36539658d6d8a591e8cb223
tree348af46d6594f3855f925de573c7552f2371858e
parent6a658c908cf0e2ee713f8c9e7844a95b824da0fc
drm/nouveau/disp/gv100: make gv100_disp_wndw and gv100_disp_wndw_mthd static

Sparse reports these issues
wndwgv100.c:120:1: warning: symbol 'gv100_disp_wndw_mthd' was not declared. Should it be static?
wndwgv100.c:140:1: warning: symbol 'gv100_disp_wndw' was not declared. Should it be static?

These variable are only used in wndwgv100.c.  Single file variables should be static.
So use static as their storage-class specifiers.

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/20220425131308.158635-1-trix@redhat.com
drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c