Quoting Rui Sousa <[EMAIL PROTECTED]>:

> I needed to compile usbvideo outside of the kernel tree and run into
> some problems. The attached file contains makefile changes that allow
> to retrieve kernel compile options automatically from the kernel 
> makefiles and .config. It was tested with kernel 2.4.16 but should work 
> with other 2.4 kernels.
> 
> Please apply,

Most of this patch is relevant to CVS version only (by definition), so I
will apply that to the CVS at SourceForge today. This patch is indeed what
I always wanted to have but was too afraid to begin :-)

There is a change in usbvideo.c though:

> diff -uNr usbvideo.orig/usbvideo.c usbvideo/usbvideo.c
> --- usbvideo.orig/usbvideo.c  Fri Sep 21 05:55:28 2001
> +++ usbvideo/usbvideo.c       Fri Dec 21 19:09:51 2001
> @@ -17,7 +17,7 @@
>  #include <linux/kernel.h>
>  #include <linux/sched.h>
>  #include <linux/list.h>
> -#include <linux/malloc.h>
> +#include <linux/slab.h>
>  #include <linux/module.h>
>  #include <linux/mm.h>
>  #include <linux/smp_lock.h>

How important that is? Should it be applied to 2.4 and/or 2.5 trees?

Dmitri

-- 
"Lawyers are the enemies of liberty"
Oliver Cromwell

Attachment: msg03497/pgp00000.pgp
Description: PGP signature

Reply via email to