staging: dt3155v4l: make q_ops static
authorKristina Martšenko <kristina.martsenko@gmail.com>
Fri, 14 Mar 2014 15:20:17 +0000 (17:20 +0200)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Mon, 17 Mar 2014 01:27:48 +0000 (18:27 -0700)
Since q_ops is only referenced in dt3155v4l.c, mark it as static.

This removes the following sparse warning:
drivers/staging/media/dt3155v4l//dt3155v4l.c:302:22: warning: symbol 'q_ops' was not declared. Should it be static?

Signed-off-by: Kristina Martšenko <kristina.martsenko@gmail.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
drivers/staging/media/dt3155v4l/dt3155v4l.c

index e729e52639c59bf62f56cf8cd825e6a2a638a2f3..97e7a9b48ac2e51bbd7655dfb8b10920d889d28a 100644 (file)
@@ -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,