From 3f0a4d296e554c89e15a01d29776ab4c4642ab79 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Sun, 17 Oct 2010 17:14:15 -0300 Subject: [media] Re: [git:v4l-dvb/v2.6.37] [media] Fix compilation of Siliconfile SR030PC30 VGA camera MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Siliconfile SR030PC30 VGA camera fails to compile with this error: drivers/media/video/sr030pc30.c: In function ‘sr030pc30_probe’: drivers/media/video/sr030pc30.c:834: error: implicit declaration of function ‘kzalloc’ drivers/media/video/sr030pc30.c:834: warning: assignment makes pointer from integer without a cast drivers/media/video/sr030pc30.c: In function ‘sr030pc30_remove’: drivers/media/video/sr030pc30.c:858: error: implicit declaration of function ‘kfree’ Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/sr030pc30.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/media/video/sr030pc30.c') diff --git a/drivers/media/video/sr030pc30.c b/drivers/media/video/sr030pc30.c index f82e1f30988..ec8d875106d 100644 --- a/drivers/media/video/sr030pc30.c +++ b/drivers/media/video/sr030pc30.c @@ -18,6 +18,7 @@ #include #include +#include #include #include #include -- cgit v1.2.3