[media] em28xx: declare em28xx_stop_streaming as static
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Jan 2013 03:27:21 +0000 (01:27 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Jan 2013 03:32:18 +0000 (01:32 -0200)
That fixes the following warning:
drivers/media/usb/em28xx/em28xx-video.c:611:5: warning: no previous prototype for 'em28xx_stop_streaming' [-Wmissing-prototypes]

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/em28xx/em28xx-video.c

index 40b96d17ccf8baa027a3307ea1bcc798d042f973..75027e390738ee13fc78cc4aeca032a26714a5ca 100644 (file)
@@ -608,7 +608,7 @@ fail:
        return rc;
 }
 
-int em28xx_stop_streaming(struct vb2_queue *vq)
+static int em28xx_stop_streaming(struct vb2_queue *vq)
 {
        struct em28xx *dev = vb2_get_drv_priv(vq);
        struct em28xx_dmaqueue *vidq = &dev->vidq;