From: Mauro Carvalho Chehab Date: Sat, 5 Jan 2013 03:27:21 +0000 (-0200) Subject: [media] em28xx: declare em28xx_stop_streaming as static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3a799c27b3faebaf5a7a6149dfe8f705451b241f;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [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 --- 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: 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;