Просмотр исходного кода

Staging: go7007: fix build error

VID_TYPE_CAPTURE is a v4l1 thing only.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman 16 лет назад
Родитель
Сommit
c6f5af8843
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      drivers/staging/go7007/go7007-v4l2.c

+ 0 - 1
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,