Re: [patch] v4l: videobuf update

Gerd Knorr (kraxel@bytesex.org)
Wed, 2 Apr 2003 21:19:00 +0200


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/