]> Git Repo - linux.git/commitdiff
[media] cx25821: Fix compilation breakage due to BKL dependency
authorMauro Carvalho Chehab <[email protected]>
Wed, 5 Jan 2011 15:31:15 +0000 (12:31 -0300)
committerMauro Carvalho Chehab <[email protected]>
Wed, 5 Jan 2011 15:41:40 +0000 (13:41 -0200)
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 <[email protected]>
Reported-by: Anca Emanuel <[email protected]>
Cc: Palash Bandyopadhyay <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
drivers/staging/cx25821/cx25821-video.c

index 998c33acf7bd5c4a8391cf26704cba8e7ff347d3..0d8d75670516e77a8cc1b9218c87c5f8821c9778 100644 (file)
@@ -27,6 +27,7 @@
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
 #include "cx25821-video.h"
+#include <linux/smp_lock.h>
 
 MODULE_DESCRIPTION("v4l2 driver module for cx25821 based TV cards");
 MODULE_AUTHOR("Hiep Huynh <[email protected]>");
This page took 0.075864 seconds and 4 git commands to generate.