[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071015154319.GA20444@elte.hu>
Date: Mon, 15 Oct 2007 17:43:19 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Mauro Carvalho Chehab <mchehab@...radead.org>
Cc: linux-kernel@...r.kernel.org, pexu@...si.fi,
Douglas Schilling Landgraf <dougsland@...il.com>,
Trent Piepho <xyzzy@...akeasy.org>
Subject: [patch] videbuf-core.c: fix build error
* Mauro Carvalho Chehab <mchehab@...radead.org> wrote:
>
> Em Seg, 2007-10-15 ??s 13:13 +0200, Ingo Molnar escreveu:
> > randconfig testing of latest -git found this build bug:
> >
> > drivers/media/radio/radio-gemtek.c:557: error: 'VID_HARDWARE_GEMTEK' undeclared here (not in a function)
>
> Thanks. I'm applying Pekka patch for Gemtek.
>
> It should be noticed that the hardware field isn't used anymore on V4L
> core, or at the drivers (except for initializing the field), so it is
> better just to remove the field and all occurrences.
just found another build bug. Tested fix below, config attached.
Ingo
---------------->
Subject: videbuf-core.c: fix build error
From: Ingo Molnar <mingo@...e.hu>
videbuf-core.c: fix build error:
drivers/media/video/videobuf-core.c:988: error: 'videobuf_cgmbuf' undeclared here (not in a function)
drivers/media/video/videobuf-core.c:988: warning: type defaults to 'int' in declaration of 'videobuf_cgmbuf'
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
drivers/media/video/videobuf-core.c | 2 ++
1 file changed, 2 insertions(+)
Index: linux/drivers/media/video/videobuf-core.c
===================================================================
--- linux.orig/drivers/media/video/videobuf-core.c
+++ linux/drivers/media/video/videobuf-core.c
@@ -985,7 +985,9 @@ EXPORT_SYMBOL_GPL(videobuf_reqbufs);
EXPORT_SYMBOL_GPL(videobuf_querybuf);
EXPORT_SYMBOL_GPL(videobuf_qbuf);
EXPORT_SYMBOL_GPL(videobuf_dqbuf);
+#ifdef CONFIG_VIDEO_V4L1_COMPAT
EXPORT_SYMBOL_GPL(videobuf_cgmbuf);
+#endif
EXPORT_SYMBOL_GPL(videobuf_streamon);
EXPORT_SYMBOL_GPL(videobuf_streamoff);
View attachment "config" of type "text/plain" (40227 bytes)
Powered by blists - more mailing lists