[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20220926023835.740868-1-ruanjinjie@huawei.com>
Date: Mon, 26 Sep 2022 10:38:35 +0800
From: ruanjinjie <ruanjinjie@...wei.com>
To: <emma@...olt.net>, <mripard@...nel.org>, <airlied@...ux.ie>,
<daniel@...ll.ch>, <dri-devel@...ts.freedesktop.org>,
<linux-kernel@...r.kernel.org>
CC: <ruanjinjie@...wei.com>
Subject: [PATCH -next] drm/vc4: v3d: make render_wait static
The symbol is not used outside of the file, so mark it static.
Fixes the following warning:
./drivers/gpu/drm/vc4/vc4_irq.c:60:1: warning: symbol 'render_wait'
was not declared. Should it be static?
Signed-off-by: ruanjinjie <ruanjinjie@...wei.com>
---
drivers/gpu/drm/vc4/vc4_irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/vc4/vc4_irq.c b/drivers/gpu/drm/vc4/vc4_irq.c
index 1e6db0121ccd..86d799f0253e 100644
--- a/drivers/gpu/drm/vc4/vc4_irq.c
+++ b/drivers/gpu/drm/vc4/vc4_irq.c
@@ -57,7 +57,7 @@
V3D_INT_FLDONE | \
V3D_INT_FRDONE)
-DECLARE_WAIT_QUEUE_HEAD(render_wait);
+static DECLARE_WAIT_QUEUE_HEAD(render_wait);
static void
vc4_overflow_mem_work(struct work_struct *work)
--
2.25.1
Powered by blists - more mailing lists