diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-11-13 18:35:08 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 16:52:06 -0500 |
commit | 8fca1cb3a4f7b1eba7e139a4eefc5d01f33d8961 (patch) | |
tree | 88ca88d2d2d117ba490e815ac019f75259cf7159 /drivers/staging/go7007 | |
parent | 9febd042dae418cea842a8fb697cde10a4887a01 (diff) |
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: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/go7007')
-rw-r--r-- | drivers/staging/go7007/go7007-v4l2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/staging/go7007/go7007-v4l2.c b/drivers/staging/go7007/go7007-v4l2.c index 7717feff8be..2ca3877c7ae 100644 --- a/drivers/staging/go7007/go7007-v4l2.c +++ b/drivers/staging/go7007/go7007-v4l2.c | |||
@@ -327,6 +327,7 @@ static int set_capture_size(struct go7007 *go, struct v4l2_format *fmt, int try) | |||
327 | return 0; | 327 | return 0; |
328 | } | 328 | } |
329 | 329 | ||
330 | #if 0 | ||
330 | static int clip_to_modet_map(struct go7007 *go, int region, | 331 | static int clip_to_modet_map(struct go7007 *go, int region, |
331 | struct v4l2_clip *clip_list) | 332 | struct v4l2_clip *clip_list) |
332 | { | 333 | { |
@@ -599,6 +600,7 @@ static int mpeg_g_control(struct v4l2_control *ctrl, struct go7007 *go) | |||
599 | } | 600 | } |
600 | return 0; | 601 | return 0; |
601 | } | 602 | } |
603 | #endif | ||
602 | 604 | ||
603 | static int vidioc_querycap(struct file *file, void *priv, | 605 | static int vidioc_querycap(struct file *file, void *priv, |
604 | struct v4l2_capability *cap) | 606 | struct v4l2_capability *cap) |
@@ -1089,7 +1091,7 @@ static int vidioc_s_parm(struct file *filp, void *priv, | |||
1089 | 1091 | ||
1090 | The two functions bellow implements the newer ioctls | 1092 | The two functions bellow implements the newer ioctls |
1091 | */ | 1093 | */ |
1092 | 1094 | #if 0 | |
1093 | static int vidioc_enum_framesizes(struct file *filp, void *priv, | 1095 | static int vidioc_enum_framesizes(struct file *filp, void *priv, |
1094 | struct v4l2_frmsizeenum *fsize) | 1096 | struct v4l2_frmsizeenum *fsize) |
1095 | { | 1097 | { |
@@ -1131,6 +1133,7 @@ static int vidioc_enum_frameintervals(struct file *filp, void *priv, | |||
1131 | 1133 | ||
1132 | return 0; | 1134 | return 0; |
1133 | } | 1135 | } |
1136 | #endif | ||
1134 | 1137 | ||
1135 | static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id *std) | 1138 | static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id *std) |
1136 | { | 1139 | { |