Re: [patch] v4l: videobuf update

From: Gerd Knorr (kraxel@bytesex.org)
Date: Wed Apr 02 2003 - 14:19:00 EST


On Wed, Apr 02, 2003 at 07:36:36PM +0100, Christoph Hellwig wrote:
> > Because the 2.5.x code doesn't compile on 2.4.x, thus there are version
> > #ifdefs in my device driver tarballs. You just don't see that because
> > some perl magic filteres out the 2.4 code when submitting patches for
> > 2.5.x (and visa versa ...). If you fetch the tarballs from bytesex.org
> > you'll see the #ifdefs in the driver code.
>
> So what about stripping #include <linux/version.h> in your script aswell? :)

In video-buf.c it can likely deleted without side effects, but just
removing it unconditionally everythere likely doesn't work because my
drivers use the KERNEL_VERSION() macro for the device driver version as
well (see drivers/media/video/bttvp.h for example).

  Gerd

-- 
Michael Moore for president!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 07 2003 - 22:00:17 EST