Re: [patch] v4l: videobuf update

Christoph Hellwig (hch@infradead.org)
Wed, 2 Apr 2003 19:36:36 +0100


On Wed, Apr 02, 2003 at 08:35:44PM +0200, Gerd Knorr wrote:
> > > --- linux-2.5.66/drivers/media/video/video-buf.c 2003-04-02 11:42:51.957723625 +0200
> > >
> > > +#include <linux/version.h>
> >
> > Why do you need this?
>
> 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? :)

-
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/