* [PATCH] cx25821: fix build failure
@ 2010-11-18 20:15 Tim Blechmann
2010-11-18 20:17 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Tim Blechmann @ 2010-11-18 20:15 UTC (permalink / raw)
To: linux-kernel
Cc: Greg Kroah-Hartman, Mauro Carvalho Chehab, Palash Bandyopadhyay,
devel, Tim Blechmann
include specific header for bkl functions
drivers/staging/cx25821/cx25821-video.c:815:8: error: implicit declaration of function ‘lock_kernel’
drivers/staging/cx25821/cx25821-video.c:832:9: error: implicit declaration of function ‘unlock_kernel’
Signed-off-by: Tim Blechmann <tim@klingt.org>
---
drivers/staging/cx25821/cx25821-video.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/staging/cx25821/cx25821-video.h b/drivers/staging/cx25821/cx25821-video.h
index cc6034b..0df20dc 100644
--- a/drivers/staging/cx25821/cx25821-video.h
+++ b/drivers/staging/cx25821/cx25821-video.h
@@ -34,6 +34,7 @@
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/kthread.h>
+#include <linux/smp_lock.h>
#include <asm/div64.h>
#include "cx25821.h"
--
1.7.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] cx25821: fix build failure
2010-11-18 20:15 [PATCH] cx25821: fix build failure Tim Blechmann
@ 2010-11-18 20:17 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2010-11-18 20:17 UTC (permalink / raw)
To: Tim Blechmann
Cc: linux-kernel, devel, Palash Bandyopadhyay, Greg Kroah-Hartman,
Mauro Carvalho Chehab
On Thu, 18 Nov 2010 21:15:58 +0100 Tim Blechmann wrote:
> include specific header for bkl functions
>
> drivers/staging/cx25821/cx25821-video.c:815:8: error: implicit declaration of function ‘lock_kernel’
> drivers/staging/cx25821/cx25821-video.c:832:9: error: implicit declaration of function ‘unlock_kernel’
>
> Signed-off-by: Tim Blechmann <tim@klingt.org>
Hi,
This patch has already been posted and is already merged into Linus's git tree.
Thanks.
> ---
> drivers/staging/cx25821/cx25821-video.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/staging/cx25821/cx25821-video.h b/drivers/staging/cx25821/cx25821-video.h
> index cc6034b..0df20dc 100644
> --- a/drivers/staging/cx25821/cx25821-video.h
> +++ b/drivers/staging/cx25821/cx25821-video.h
> @@ -34,6 +34,7 @@
> #include <linux/interrupt.h>
> #include <linux/delay.h>
> #include <linux/kthread.h>
> +#include <linux/smp_lock.h>
> #include <asm/div64.h>
>
> #include "cx25821.h"
> --
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-18 20:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-18 20:15 [PATCH] cx25821: fix build failure Tim Blechmann
2010-11-18 20:17 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®