diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-28 15:58:19 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-08-06 05:57:07 -0400 |
commit | dfb9aff025c4c874f9169e2fd690ce6fee2309fe (patch) | |
tree | 71074f948ddfd9e242d3c67f25d258ba70798226 /drivers/media | |
parent | 886f8d678a28882c193c2886c7280c0eccd8c9dd (diff) |
V4L/DVB (8563): fix drivers/media/video/arv.c compilation
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 'drivers/media')
-rw-r--r-- | drivers/media/video/arv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/arv.c b/drivers/media/video/arv.c index 56ebfd5ef6fa..9e436ad3d34b 100644 --- a/drivers/media/video/arv.c +++ b/drivers/media/video/arv.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <linux/sched.h> | 29 | #include <linux/sched.h> |
30 | #include <linux/videodev.h> | 30 | #include <linux/videodev.h> |
31 | #include <media/v4l2-common.h> | 31 | #include <media/v4l2-common.h> |
32 | #include <media/v4l2-ioctl.h> | ||
32 | #include <linux/mutex.h> | 33 | #include <linux/mutex.h> |
33 | 34 | ||
34 | #include <asm/uaccess.h> | 35 | #include <asm/uaccess.h> |
@@ -755,7 +756,6 @@ static const struct file_operations ar_fops = { | |||
755 | 756 | ||
756 | static struct video_device ar_template = { | 757 | static struct video_device ar_template = { |
757 | .name = "Colour AR VGA", | 758 | .name = "Colour AR VGA", |
758 | .type = VID_TYPE_CAPTURE, | ||
759 | .fops = &ar_fops, | 759 | .fops = &ar_fops, |
760 | .release = ar_release, | 760 | .release = ar_release, |
761 | .minor = -1, | 761 | .minor = -1, |