[<prev] [next>] [day] [month] [year] [list]
Message-ID: <53402A51.9020301@fastmail.fm>
Date: Sun, 06 Apr 2014 00:07:45 +0800
From: Michalis Pappas <mpappas@...tmail.fm>
To: m.chehab@...sung.com, gregkh@...uxfoundation.org
CC: linux-media@...r.kernel.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] staging: dt3155v4l: Fixed global symbol
Made q_ops static, as suggested by sparse.
Signed-off-by: Michalis Pappas <mpappas@...tmail.fm>
---
drivers/staging/media/dt3155v4l/dt3155v4l.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/media/dt3155v4l/dt3155v4l.c b/drivers/staging/media/dt3155v4l/dt3155v4l.c
index e729e52..97e7a9b 100644
--- a/drivers/staging/media/dt3155v4l/dt3155v4l.c
+++ b/drivers/staging/media/dt3155v4l/dt3155v4l.c
@@ -299,7 +299,7 @@ dt3155_buf_queue(struct vb2_buffer *vb)
* end driver-specific callbacks
*/
-const struct vb2_ops q_ops = {
+static const struct vb2_ops q_ops = {
.queue_setup = dt3155_queue_setup,
.wait_prepare = dt3155_wait_prepare,
.wait_finish = dt3155_wait_finish,
--
1.7.12.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists