[media] cx25821-video: declare cx25821_vidioc_s_std as static
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Apr 2013 18:49:33 +0000 (15:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Apr 2013 19:07:11 +0000 (16:07 -0300)
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>
drivers/media/pci/cx25821/cx25821-video.c

index 3ba856a2a9f3ca4cd09aca4aeec35f927f2ca879..d270819fd8751417bb6fb60c2af1483e23a8a19a 100644 (file)
@@ -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;