drm/nouveau/mc: make tu102_mc_intr_unarm static
Subsystems (3)
PATCH 1/1 drm/nouveau/mc: make tu102_mc_intr_unarm static
Fix the following sparse warning:
drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c:74:1: warning: symbol 'tu102_mc_intr_mask' was not declared. Should it be static?
drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c:62:1: warning: symbol 'tu102_mc_intr_rearm' was not declared. Should it be static?
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c +2 -2
@@ -58,7 +58,7 @@ struct tu102_mc {spin_unlock_irqrestore (&mc->lock, flags); } -void +static void tu102_mc_intr_rearm (struct nvkm_mc *base) {struct tu102_mc *mc =tu102_mc (base);
@@ -70,7 +70,7 @@ struct tu102_mc {spin_unlock_irqrestore (&mc->lock, flags); } -void +static void tu102_mc_intr_mask (struct nvkm_mc *base,u32 mask,u32 intr) {struct tu102_mc *mc =tu102_mc (base);
Signature · 6 lines
1.8.3.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel