This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: [media] vivid: comment the unused g_edid/s_edid functions
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Tue Sep 2 18:01:05 2014 -0300

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 <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/platform/vivid/vivid-vid-out.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=6c1c423a54b5b3a6c9c9561c7ef32aee0fda7253

diff --git a/drivers/media/platform/vivid/vivid-vid-out.c 
b/drivers/media/platform/vivid/vivid-vid-out.c
index 9fd8035..c983461 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)

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to