Commit 6c1c423a authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[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: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 20504fa9
...@@ -1117,6 +1117,7 @@ int vivid_vid_out_s_dv_timings(struct file *file, void *_fh, ...@@ -1117,6 +1117,7 @@ int vivid_vid_out_s_dv_timings(struct file *file, void *_fh,
return 0; return 0;
} }
#if 0
int vivid_vid_out_g_edid(struct file *file, void *_fh, int vivid_vid_out_g_edid(struct file *file, void *_fh,
struct v4l2_edid *edid) struct v4l2_edid *edid)
{ {
...@@ -1171,6 +1172,7 @@ int vivid_vid_out_s_edid(struct file *file, void *_fh, ...@@ -1171,6 +1172,7 @@ int vivid_vid_out_s_edid(struct file *file, void *_fh,
memcpy(dev->edid, edid->edid, edid->blocks * 128); memcpy(dev->edid, edid->edid, edid->blocks * 128);
return 0; return 0;
} }
#endif
int vivid_vid_out_g_parm(struct file *file, void *priv, int vivid_vid_out_g_parm(struct file *file, void *priv,
struct v4l2_streamparm *parm) struct v4l2_streamparm *parm)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment