aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-01-05 10:31:15 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-01-05 10:41:40 -0500
commita7862aa90ffd1113bc2898ae6be2e4861b1f76cc (patch)
tree6529067c3ac3491e949caf3869568f6281b17103 /drivers
parent36f54ff67bc78c6d8dc4a90ac257165e05fdd8da (diff)
[media] cx25821: Fix compilation breakage due to BKL dependency
drivers/staging/cx25821/cx25821-video.c: In function ‘video_open’: drivers/staging/cx25821/cx25821-video.c:817:8: error: implicit declaration of function ‘lock_kernel’ drivers/staging/cx25821/cx25821-video.c:834:9: error: implicit declaration of function ‘unlock_kernel’ This patch just adds a header with BKL function. It should be enough to avoid compilation breakage, but, as BKL will be removed, we need to properly fix it on a latter patch. Reported-by: Randy Dunlap <rdunlap@xenotime.net> Reported-by: Anca Emanuel <anca.emanuel@gmail.com> Cc: Palash Bandyopadhyay <Palash.Bandyopadhyay@conexant.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/cx25821/cx25821-video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/cx25821/cx25821-video.c b/drivers/staging/cx25821/cx25821-video.c
index 998c33acf7bd..0d8d75670516 100644
--- a/drivers/staging/cx25821/cx25821-video.c
+++ b/drivers/staging/cx25821/cx25821-video.c
@@ -27,6 +27,7 @@
27#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 27#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
28 28
29#include "cx25821-video.h" 29#include "cx25821-video.h"
30#include <linux/smp_lock.h>
30 31
31MODULE_DESCRIPTION("v4l2 driver module for cx25821 based TV cards"); 32MODULE_DESCRIPTION("v4l2 driver module for cx25821 based TV cards");
32MODULE_AUTHOR("Hiep Huynh <hiep.huynh@conexant.com>"); 33MODULE_AUTHOR("Hiep Huynh <hiep.huynh@conexant.com>");