[PATCH] cx25821: fix build failure

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tim Blechmann
Date: Thursday, November 18, 2010 - 1:15 pm

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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[No subject], , (Wed Dec 31, 5:00 pm)
help, code.perfect, (Fri May 28, 7:48 pm)
VERY URGENT, BARR ALBERTHO RAHIM, (Sun Sep 26, 4:14 pm)
YOU HAVE WON $1,900,000 USD, MICROSOFT AWARD 2010 ..., (Sat Nov 13, 6:55 am)
[PATCH] cx25821: fix build failure, Tim Blechmann, (Thu Nov 18, 1:15 pm)
[PATCH 7/7] MAINTAINERS: update documentation entries, Randy Dunlap, (Thu Nov 18, 1:27 pm)
[tip:perf/core] perf record: Fix use of sample_id_all user ..., tip-bot for Arnaldo ..., (Tue Jan 4, 1:19 am)