]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cx25821: Fix compilation breakage due to BKL dependency
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 5 Jan 2011 15:31:15 +0000 (12:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 5 Jan 2011 15:41:40 +0000 (13:41 -0200)
commit9a0796d16cf3b1ada6b04c6360e97a528aded53c
tree6529067c3ac3491e949caf3869568f6281b17103
parent5acff5338830296409940160f77e8d8b615ef922
[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>
drivers/staging/cx25821/cx25821-video.c