[media] pwc-if: get rid of warning: no previous prototype
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 27 Oct 2012 17:26:35 +0000 (14:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 28 Oct 2012 09:38:31 +0000 (07:38 -0200)
drivers/media/usb/pwc/pwc-if.c:158:23: warning: no previous prototype for 'pwc_get_next_fill_buf' [-Wmissing-prototypes]

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

index 42e36bac4d72a93add64b485652fc957bf0a30a3..e191572970c493088c1827a9230c1f724366afe3 100644 (file)
@@ -155,7 +155,7 @@ static struct video_device pwc_template = {
 /***************************************************************************/
 /* Private functions */
 
-struct pwc_frame_buf *pwc_get_next_fill_buf(struct pwc_device *pdev)
+static struct pwc_frame_buf *pwc_get_next_fill_buf(struct pwc_device *pdev)
 {
        unsigned long flags = 0;
        struct pwc_frame_buf *buf = NULL;