summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vivid/vivid-vid-out.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-02 18:01:05 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-02 18:01:05 -0300
commit6c1c423a54b5b3a6c9c9561c7ef32aee0fda7253 (patch)
tree06de5f455f4ef41fde761621166d929790c0b4b2 /drivers/media/platform/vivid/vivid-vid-out.c
parent20504fa92d072d427d1eaaa47f71f9fb60d6c43a (diff)
downloadlinux-6c1c423a54b5b3a6c9c9561c7ef32aee0fda7253.tar.bz2
[media] vivid: comment the unused g_edid/s_edid functions
Those non-static functions aren't used anywhere yet. Comment them while they're unused. Solves the following warnings: drivers/media/platform/vivid/vivid-vid-out.c:1120:5: warning: no previous prototype for 'vivid_vid_out_g_edid' [-Wmissing-prototypes] int vivid_vid_out_g_edid(struct file *file, void *_fh, ^ drivers/media/platform/vivid/vivid-vid-out.c:1152:5: warning: no previous prototype for 'vivid_vid_out_s_edid' [-Wmissing-prototypes] int vivid_vid_out_s_edid(struct file *file, void *_fh, ^ Cc: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/vivid/vivid-vid-out.c')
-rw-r--r--drivers/media/platform/vivid/vivid-vid-out.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/vivid/vivid-vid-out.c b/drivers/media/platform/vivid/vivid-vid-out.c
index 9fd803592864..c983461f29d5 100644
--- a/drivers/media/platform/vivid/vivid-vid-out.c
+++ b/drivers/media/platform/vivid/vivid-vid-out.c
@@ -1117,6 +1117,7 @@ int vivid_vid_out_s_dv_timings(struct file *file, void *_fh,
return 0;
}
+#if 0
int vivid_vid_out_g_edid(struct file *file, void *_fh,
struct v4l2_edid *edid)
{
@@ -1171,6 +1172,7 @@ int vivid_vid_out_s_edid(struct file *file, void *_fh,
memcpy(dev->edid, edid->edid, edid->blocks * 128);
return 0;
}
+#endif
int vivid_vid_out_g_parm(struct file *file, void *priv,
struct v4l2_streamparm *parm)