[linux-dvb] [PATCH] compile problem with v4l-dvb in kernel

Scott M. irrational at poboxes.com
Thu Mar 30 05:25:53 CEST 2006


On Wed, Mar 29, 2006 at 04:36:58PM -0800, Trent Piepho wrote:
> I'm not totally clear on the relationship between the mercurial repository
> and the kernel, so maybe this just doesn't make sense at all.
> 
> videodev2.h uses KERNEL_VERSION(), but doesn't include linux/version.h where
> that macro is defined.  All the dvb-v4l code happens to include
> linux/version.h before it includes videodev2.h, so this doesn't cause a
> problem there.  Other kernel code, such as the matroxfb driver, does include
> videodev2.h without linux/version.h, and so won't compile without this change.
> 
> It seems like normally header files are responsible for including other
> headers they need for types and macros, and so the change should be to
> videodev2.h and not to matroxfb and whereever else needed.

Hi,

I have a question along these lines.  I suspect someone will comment to the effect that this patch may not be needed, 
irrespective can someone please explain the process of converting v4l/dvb CVS (multi-kernel flavours) to kernel patchable 
(single kernel version/flavour) ?

Regards,

-- 
                                                                _ |\
Scott MacKenzie   i r r a t i o n a l @ p o b o x e s . c o m  / -| \
``````````````````````````````````````````````````````````````(      |
Sydney, Australia                     2 7 5 7 5 6 0 6 @ i c q  \_-\_X
````````````Beware the stark FIST of removal!'''''''''''           v



More information about the linux-dvb mailing list