diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-08-05 16:01:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-05 17:33:50 -0400 |
commit | 8c275ce327447f4cf3d0904d1a5a6ffa1b92de7f (patch) | |
tree | 69881671584bf21f2c85c06b1b0dfaa4c6197c25 /drivers | |
parent | dfe195fb79e88c334481f1362fef52f6d2e30b2d (diff) |
drivers/media/video/vino.c needs v4l2-ioctl.h
mips allmodconfig:
drivers/media/video/vino.c: In function `vino_free_buffer_with_count':
drivers/media/video/vino.c:811: warning: passing arg 1 of `virt_to_phys' makes pointer from integer without a cast
drivers/media/video/vino.c: In function `vino_allocate_buffer':
drivers/media/video/vino.c:889: warning: passing arg 1 of `virt_to_phys' makes pointer from integer without a cast
drivers/media/video/vino.c: In function `vino_ioctl':
drivers/media/video/vino.c:4364: error: implicit declaration of function `video_usercopy'
The patch fixes the error, but not the warnings.
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/vino.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/vino.c b/drivers/media/video/vino.c index 3989b0eded28..ef7572cbc4ab 100644 --- a/drivers/media/video/vino.c +++ b/drivers/media/video/vino.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include <linux/i2c-algo-sgi.h> | 39 | #include <linux/i2c-algo-sgi.h> |
40 | 40 | ||
41 | #include <linux/videodev2.h> | 41 | #include <linux/videodev2.h> |
42 | #include <media/v4l2-ioctl.h> | ||
42 | #include <media/v4l2-common.h> | 43 | #include <media/v4l2-common.h> |
43 | #include <linux/video_decoder.h> | 44 | #include <linux/video_decoder.h> |
44 | #include <linux/mutex.h> | 45 | #include <linux/mutex.h> |