drm/nouveau/nvfw/acr: set wpr_generic_header_dump storage-class-specifier to static
authorTom Rix <trix@redhat.com>
Thu, 2 Mar 2023 12:48:19 +0000 (07:48 -0500)
committerKarol Herbst <kherbst@redhat.com>
Thu, 16 Mar 2023 13:53:15 +0000 (14:53 +0100)
commitb24343eaceedb902c1625854f85a193b0549d85f
treeed3fa5ea89bd4d9b1d9b5a666b2ffc261295b9b2
parentc14bff92abfe464974c795ad53625ffbb6d6ef31
drm/nouveau/nvfw/acr: set wpr_generic_header_dump storage-class-specifier to static

gcc with W=1 reports
drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c:49:1: error: no previous
  prototype for ‘wpr_generic_header_dump’ [-Werror=missing-prototypes]
   49 | wpr_generic_header_dump(struct nvkm_subdev *subdev,
      | ^~~~~~~~~~~~~~~~~~~~~~~

wpr_generic_header_dump is only used in acr.c, so it should be static

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230302124819.686469-1-trix@redhat.com
drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c