linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: dt3155v4l: Fixed global symbol
@ 2014-04-05 16:07 Michalis Pappas
  0 siblings, 0 replies; only message in thread
From: Michalis Pappas @ 2014-04-05 16:07 UTC (permalink / raw)
  To: m.chehab, gregkh; +Cc: linux-media, devel, linux-kernel


Made q_ops static, as suggested by sparse.

Signed-off-by: Michalis Pappas <mpappas@fastmail.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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-04-05 16:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-05 16:07 [PATCH] staging: dt3155v4l: Fixed global symbol Michalis Pappas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).