OSDN Git Service

[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 40b96d1..75027e3 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;