Commit c14bff92 authored by Tom Rix's avatar Tom Rix Committed by Karol Herbst

drm/nouveau/fifo: set nvkm_engn_cgrp_get storage-class-specifier to static

smatch reports
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c:33:18:
  warning: symbol 'nvkm_engn_cgrp_get' was not declared. Should it be static?

nvkm_engn_cgrp_get is only used in runl.c, so it should be static
Signed-off-by: default avatarTom Rix <trix@redhat.com>
Reviewed-by: default avatarKarol Herbst <kherbst@redhat.com>
Signed-off-by: default avatarKarol Herbst <kherbst@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230228221533.3240520-1-trix@redhat.com
parent abe3c66f
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <subdev/timer.h> #include <subdev/timer.h>
#include <subdev/top.h> #include <subdev/top.h>
struct nvkm_cgrp * static struct nvkm_cgrp *
nvkm_engn_cgrp_get(struct nvkm_engn *engn, unsigned long *pirqflags) nvkm_engn_cgrp_get(struct nvkm_engn *engn, unsigned long *pirqflags)
{ {
struct nvkm_cgrp *cgrp = NULL; struct nvkm_cgrp *cgrp = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment