aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-01-04 22:27:21 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-01-04 22:32:18 -0500
commit3a799c27b3faebaf5a7a6149dfe8f705451b241f (patch)
tree8f6311c120c29c7816b088e73490533e9b0844f0 /drivers/media
parent317efce991620adc589b3005b9baed433dcb2a56 (diff)
[media] em28xx: declare em28xx_stop_streaming as static
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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/usb/em28xx/em28xx-video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c
index 40b96d17ccf8..75027e390738 100644
--- a/drivers/media/usb/em28xx/em28xx-video.c
+++ b/drivers/media/usb/em28xx/em28xx-video.c
@@ -608,7 +608,7 @@ fail:
608 return rc; 608 return rc;
609} 609}
610 610
611int em28xx_stop_streaming(struct vb2_queue *vq) 611static int em28xx_stop_streaming(struct vb2_queue *vq)
612{ 612{
613 struct em28xx *dev = vb2_get_drv_priv(vq); 613 struct em28xx *dev = vb2_get_drv_priv(vq);
614 struct em28xx_dmaqueue *vidq = &dev->vidq; 614 struct em28xx_dmaqueue *vidq = &dev->vidq;