[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <web-413291852@zbackend1.aha.ru>
Date: Tue, 30 Nov 2010 10:44:21 -0400
From: "werner" <w.landgraf@...ru>
To: randy.dunlap@...cle.com, greg@...ah.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: easycap needs smp_lock.h, fixes build
error
HELLO
I dont believe this ... my 2.6.37-rc4 compilation gone bad
again, because of the same error, and I have to recompile
/ re-package it, what needs some hours again .. :( :(
The correction below worked on 2.6.37-rc3 (i.e. insert
#include <linux/smp_lock.h> into easycap_main.h)
WHY THIS WASN'T PATCHED SINCE LONG TIME ? Is the
situation of the kernel developers similar bad like of the
open office developers, so that they should be exchanged
???
w.landgraf
===========================================================
On Mon, 22 Nov 2010 12:12:37 -0800
Randy Dunlap <randy.dunlap@...cle.com> wrote:
>From: Randy Dunlap <randy.dunlap@...cle.com>
>
> Add header file to fix build error:
>
> drivers/staging/easycap/easycap_main.c:4251: error:
>implicit declaration of function 'lock_kernel'
> drivers/staging/easycap/easycap_main.c:4254: error:
>implicit declaration of function 'unlock_kernel'
>
> Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
> ---
> drivers/staging/easycap/easycap.h | 1 +
> 1 file changed, 1 insertion(+)
>
> --- lnx-2637-rc3.orig/drivers/staging/easycap/easycap.h
> +++ lnx-2637-rc3/drivers/staging/easycap/easycap.h
> @@ -75,6 +75,7 @@
> #include <linux/errno.h>
> #include <linux/init.h>
> #include <linux/slab.h>
> +#include <linux/smp_lock.h>
> #include <linux/module.h>
> #include <linux/kref.h>
> #include <linux/usb.h>
>
>
"werner" <w.landgraf@...ru>
---
Professional hosting for everyone - http://www.host.ru
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists