[Xorg-driver-geode] What to do with LINUX_2_6 in z4l.c for the ztv driver

Gaetan Nadon memsize at videotron.ca
Wed Nov 16 16:32:34 PST 2011


On Thu, 2011-11-17 at 02:01 +0200, Martin-Éric Racine wrote:

> 2011/11/17 Gaetan Nadon <memsize at videotron.ca>:
> > The makefile hard codes -DLINUX_2_6 so the "else" never gets chosen.
> >
> > What will happen on *BSD systems or LINUX_3 source?
> >
> > A noop would be to remove the macro and the "else" code.
> 
> IIRC that was to cover for API changes between 2.4 and 2.6 kernels in
> the V4L subsystem.


I guess that we won't go back to kernel 2.4, so the switch and the dead
code can be removed.

Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-driver-geode/attachments/20111116/a57dc333/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-driver-geode/attachments/20111116/a57dc333/attachment.pgp>


More information about the Xorg-driver-geode mailing list