summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx25821/cx25821-video.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-04-25 20:49:33 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-25 21:07:11 +0200
commita3f17af2d97a2a51af37e7b1dab5de5562c9b66d (patch)
treea2f2ccb9e39d6d29ad137f17abefbb9a4231c71f /drivers/media/pci/cx25821/cx25821-video.c
parent[media] cx25821-video: remove maxw from cx25821_vidioc_try_fmt_vid_cap (diff)
downloadlinux-a3f17af2d97a2a51af37e7b1dab5de5562c9b66d.tar.xz
linux-a3f17af2d97a2a51af37e7b1dab5de5562c9b66d.zip
[media] cx25821-video: declare cx25821_vidioc_s_std as static
Fixes the following warning: drivers/media/pci/cx25821/cx25821-video.c: At top level: drivers/media/pci/cx25821/cx25821-video.c:766:5: warning: no previous prototype for 'cx25821_vidioc_s_std' [-Wmissing-prototypes] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/pci/cx25821/cx25821-video.c')
-rw-r--r--drivers/media/pci/cx25821/cx25821-video.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/pci/cx25821/cx25821-video.c b/drivers/media/pci/cx25821/cx25821-video.c
index 3ba856a2a9f3..d270819fd875 100644
--- a/drivers/media/pci/cx25821/cx25821-video.c
+++ b/drivers/media/pci/cx25821/cx25821-video.c
@@ -762,7 +762,8 @@ static int cx25821_vidioc_g_std(struct file *file, void *priv, v4l2_std_id *tvno
return 0;
}
-int cx25821_vidioc_s_std(struct file *file, void *priv, v4l2_std_id tvnorms)
+static int cx25821_vidioc_s_std(struct file *file, void *priv,
+ v4l2_std_id tvnorms)
{
struct cx25821_channel *chan = video_drvdata(file);
struct cx25821_dev *dev = chan->dev;