Commit 8fca1cb3 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: go7007: fix minor build warnings

Comment out some functions that we aren't using yet, in anticipation
of using them when the v4l core merges are changed upstream.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 9febd042
...@@ -327,6 +327,7 @@ static int set_capture_size(struct go7007 *go, struct v4l2_format *fmt, int try) ...@@ -327,6 +327,7 @@ static int set_capture_size(struct go7007 *go, struct v4l2_format *fmt, int try)
return 0; return 0;
} }
#if 0
static int clip_to_modet_map(struct go7007 *go, int region, static int clip_to_modet_map(struct go7007 *go, int region,
struct v4l2_clip *clip_list) struct v4l2_clip *clip_list)
{ {
...@@ -599,6 +600,7 @@ static int mpeg_g_control(struct v4l2_control *ctrl, struct go7007 *go) ...@@ -599,6 +600,7 @@ static int mpeg_g_control(struct v4l2_control *ctrl, struct go7007 *go)
} }
return 0; return 0;
} }
#endif
static int vidioc_querycap(struct file *file, void *priv, static int vidioc_querycap(struct file *file, void *priv,
struct v4l2_capability *cap) struct v4l2_capability *cap)
...@@ -1089,7 +1091,7 @@ static int vidioc_s_parm(struct file *filp, void *priv, ...@@ -1089,7 +1091,7 @@ static int vidioc_s_parm(struct file *filp, void *priv,
The two functions bellow implements the newer ioctls The two functions bellow implements the newer ioctls
*/ */
#if 0
static int vidioc_enum_framesizes(struct file *filp, void *priv, static int vidioc_enum_framesizes(struct file *filp, void *priv,
struct v4l2_frmsizeenum *fsize) struct v4l2_frmsizeenum *fsize)
{ {
...@@ -1131,6 +1133,7 @@ static int vidioc_enum_frameintervals(struct file *filp, void *priv, ...@@ -1131,6 +1133,7 @@ static int vidioc_enum_frameintervals(struct file *filp, void *priv,
return 0; return 0;
} }
#endif
static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id *std) static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id *std)
{ {
......
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