[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <ac9bb5b7fddd363c37c511e9af688128285fa1c1.1290110765.git.tim@klingt.org>
Date: Thu, 18 Nov 2010 21:15:58 +0100
From: Tim Blechmann <tim@...ngt.org>
To: linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...e.de>,
Mauro Carvalho Chehab <mchehab@...hat.com>,
Palash Bandyopadhyay <Palash.Bandyopadhyay@...exant.com>,
devel@...verdev.osuosl.org, Tim Blechmann <tim@...ngt.org>
Subject: [PATCH] cx25821: fix build failure
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@...ngt.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
--
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