From 0484f2082ad97a48c805414c42dcd7b6b8f296f3 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 5 Jan 2009 11:22:07 -0800 Subject: [PATCH] Staging: go7007: add some more v4l2 ioctls Now that the v4l2 tree is merged with mainline, enable some of the compiled out functions. Signed-off-by: Greg Kroah-Hartman --- drivers/staging/go7007/go7007-v4l2.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/go7007/go7007-v4l2.c b/drivers/staging/go7007/go7007-v4l2.c index 2ca3877c7ae..4f7237a03ad 100644 --- a/drivers/staging/go7007/go7007-v4l2.c +++ b/drivers/staging/go7007/go7007-v4l2.c @@ -1091,7 +1091,6 @@ static int vidioc_s_parm(struct file *filp, void *priv, The two functions bellow implements the newer ioctls */ -#if 0 static int vidioc_enum_framesizes(struct file *filp, void *priv, struct v4l2_frmsizeenum *fsize) { @@ -1133,7 +1132,6 @@ static int vidioc_enum_frameintervals(struct file *filp, void *priv, return 0; } -#endif static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id *std) { @@ -1819,10 +1817,8 @@ static const struct v4l2_ioctl_ops video_ioctl_ops = { .vidioc_s_frequency = vidioc_s_frequency, .vidioc_g_parm = vidioc_g_parm, .vidioc_s_parm = vidioc_s_parm, -#if 0 /* FIXME take out after 2.6.29-rc1 merge happens */ .vidioc_enum_framesizes = vidioc_enum_framesizes, .vidioc_enum_frameintervals = vidioc_enum_frameintervals, -#endif .vidioc_cropcap = vidioc_cropcap, .vidioc_g_crop = vidioc_g_crop, .vidioc_s_crop = vidioc_s_crop, -- 2.11.4.GIT