Commit 6a658c90 authored by Tom Rix's avatar Tom Rix Committed by Lyude Paul
Browse files

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: default avatarTom Rix <trix@redhat.com>
Reviewed-by: default avatarLyude Paul <lyude@redhat.com>
Signed-off-by: default avatarLyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220425130050.1643103-1-trix@redhat.com
parent ad9ee9f5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ gv100_disp_wimm_intr(struct nv50_disp_chan *chan, bool en)
	nvkm_mask(device, 0x611da8, mask, data);
}

const struct nv50_disp_chan_func
static const struct nv50_disp_chan_func
gv100_disp_wimm = {
	.init = gv100_disp_dmac_init,
	.fini = gv100_disp_dmac_fini,