drm/nouveau/acr/ga102: make ga102_gsps static (not exported)
Subsystems (3)
PATCH 1/1 drm/nouveau/acr/ga102: make ga102_gsps static (not exported)
The ga102_gsps is not exported, so make it static to avoid the following sparse warning:
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ga102.c:49:1: warning: symbol 'ga102_gsps' was not declared. Should it be static?
Signed-off-by Ben Dooks <[email protected]>
--- drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ga102.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ga102.c +1 -1
@@ -45,7 +45,7 @@ ga102_gsp_nofw(struct nvkm_gsp *gsp, int ver, const struct nvkm_gsp_fwif *fwif)return 0 ; } -struct nvkm_gsp_fwif +static struct nvkm_gsp_fwif ga102_gsps[] = { {-1 , ga102_gsp_nofw, &ga102_gsp }, {}
Signature · 1 line
2.39.0