summaryrefslogtreecommitdiff
path: root/drivers/media/usb/pwc
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-10-27 21:26:35 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-28 13:38:31 +0400
commit0dc6eb9ffcd350453eef91f790e81e042e183cfe (patch)
tree6192468f3858efa808e8c5895c46abcb034fe182 /drivers/media/usb/pwc
parentf4a51222041c1c65bb248b1091f619bfeca27e54 (diff)
downloadlinux-0dc6eb9ffcd350453eef91f790e81e042e183cfe.tar.xz
[media] pwc-if: get rid of warning: no previous prototype
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>
Diffstat (limited to 'drivers/media/usb/pwc')
-rw-r--r--drivers/media/usb/pwc/pwc-if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/pwc/pwc-if.c b/drivers/media/usb/pwc/pwc-if.c
index 42e36bac4d72..e191572970c4 100644
--- a/drivers/media/usb/pwc/pwc-if.c
+++ b/drivers/media/usb/pwc/pwc-if.c
@@ -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;