From: Greg Kroah-Hartman Date: Tue, 17 Mar 2009 23:01:58 +0000 (-0700) Subject: Staging: go7007: fix build error X-Git-Tag: v2.6.30-rc1~202^2~542 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=c6f5af88438b3e22d56a6b2aafaee5ffc4bc030e;p=~emulex%2Finfiniband.git Staging: go7007: fix build error VID_TYPE_CAPTURE is a v4l1 thing only. Reported-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/go7007/go7007-v4l2.c b/drivers/staging/go7007/go7007-v4l2.c index 868edb65e7b..06cacd37bbd 100644 --- a/drivers/staging/go7007/go7007-v4l2.c +++ b/drivers/staging/go7007/go7007-v4l2.c @@ -1827,7 +1827,6 @@ static const struct v4l2_ioctl_ops video_ioctl_ops = { static struct video_device go7007_template = { .name = "go7007", - .vfl_type = VID_TYPE_CAPTURE, .fops = &go7007_fops, .minor = -1, .release = go7007_vfl_release,