Skip to contentSkip to conversation

drm/nouveau/acr: make wpr_generic_header_dump static

PATCH New Ben Dooks 1 participant 1 message Dec 31, 2022

Subsystems (3)
lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

PATCH 1/1 drm/nouveau/acr: make wpr_generic_header_dump static

Make wpr_generic_header_dump static to avoid the
following sparse warning:

drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c:49:1: warning: symbol 'wpr_generic_header_dump' was not declared. Should it be static?

---
 drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c +1 -1
index 83a9c48bc58c..7ac90c495737 100644
@@ -45,7 +45,7 @@ wpr_header_v1_dump(struct nvkm_subdev *subdev, const struct wpr_header_v1 *hdr)
 	nvkm_debug(subdev, "\tstatus        : %d\n", hdr->status);
 }
 
-void
+static void
 wpr_generic_header_dump(struct nvkm_subdev *subdev, const struct wpr_generic_header *hdr)
 {
 	nvkm_debug(subdev, "wprGenericHeader\n");
Signature · 1 line
2.39.0