summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-07-28 19:58:19 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-28 19:58:19 +0000
commitf28f00d9ea8a5fcfce6de0b9ec0b5b918cf14077 (patch)
tree8c2d15047195676637bfde6dce2ac1f4e7d26f4c /linux
parent7f64ee6b1f1b9d62a97a5f605ced101aa4fe5f5b (diff)
downloadmediapointer-dvb-s2-f28f00d9ea8a5fcfce6de0b9ec0b5b918cf14077.tar.gz
mediapointer-dvb-s2-f28f00d9ea8a5fcfce6de0b9ec0b5b918cf14077.tar.bz2
fix drivers/media/video/arv.c compilation
From: Adrian Bunk <bunk@kernel.org> This patch fixes the following compile errors: <-- snip --> ... CC [M] drivers/media/video/arv.o /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/media/video/arv.c: In function 'ar_ioctl': /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/media/video/arv.c:544: error: implicit declaration of function 'video_usercopy' /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/media/video/arv.c: At top level: /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/media/video/arv.c:758: error: unknown field 'type' specified in initializer make[4]: *** [drivers/media/video/arv.o] Error 1 <-- snip --> Reported-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/arv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/arv.c b/linux/drivers/media/video/arv.c
index 2832070ed..e100d4cfb 100644
--- a/linux/drivers/media/video/arv.c
+++ b/linux/drivers/media/video/arv.c
@@ -30,6 +30,7 @@
#include "compat.h"
#include <linux/videodev.h>
#include <media/v4l2-common.h>
+#include <media/v4l2-ioctl.h>
#include <linux/mutex.h>
#include <asm/uaccess.h>
@@ -760,7 +761,6 @@ static const struct file_operations ar_fops = {
static struct video_device ar_template = {
.name = "Colour AR VGA",
- .type = VID_TYPE_CAPTURE,
.fops = &ar_fops,
.release = ar_release,
.minor = -1,