summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/pwc
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-10-27 19:26:35 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-28 10:38:31 +0100
commit0dc6eb9ffcd350453eef91f790e81e042e183cfe (patch)
tree6192468f3858efa808e8c5895c46abcb034fe182 /drivers/media/usb/pwc
parent[media] pvrusb2: get rid of warning: no previous prototype (diff)
downloadlinux-0dc6eb9ffcd350453eef91f790e81e042e183cfe.tar.xz
linux-0dc6eb9ffcd350453eef91f790e81e042e183cfe.zip
[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;