linux-mips
[Top] [All Lists]

[PATCH] fix vino driver build error

To: mchehab@infradead.org
Subject: [PATCH] fix vino driver build error
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Tue, 29 Jul 2008 17:30:58 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, linux-mips <linux-mips@linux-mips.org>, tmnousia@cc.hut.fi
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
The vino driver needs #include <media/v4l2-ioctl.h>

drivers/media/video/vino.c: In function 'vino_ioctl':
drivers/media/video/vino.c:4364: error: implicit declaration of function 
'video_usercopy'
make[3]: *** [drivers/media/video/vino.o] Error 1

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X /home/yuasa/Memo/dontdiff linux-orig/drivers/media/video/vino.c 
linux/drivers/media/video/vino.c
--- linux-orig/drivers/media/video/vino.c       2008-07-29 15:54:24.412871297 
+0900
+++ linux/drivers/media/video/vino.c    2008-07-29 15:54:05.375786436 +0900
@@ -40,6 +40,7 @@
 
 #include <linux/videodev2.h>
 #include <media/v4l2-common.h>
+#include <media/v4l2-ioctl.h>
 #include <linux/video_decoder.h>
 #include <linux/mutex.h>
 

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] fix vino driver build error, Yoichi Yuasa <=