mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tim Blechmann <tim@klingt.org>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@suse.de>,
	Mauro Carvalho Chehab <mchehab@redhat.com>,
	Palash Bandyopadhyay <Palash.Bandyopadhyay@conexant.com>,
	devel@driverdev.osuosl.org, Tim Blechmann <tim@klingt.org>
Subject: [PATCH] cx25821: fix build failure
Date: Thu, 18 Nov 2010 21:15:58 +0100	[thread overview]
Message-ID: <ac9bb5b7fddd363c37c511e9af688128285fa1c1.1290110765.git.tim@klingt.org> (raw)

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


             reply	other threads:[~2010-11-18 20:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-18 20:15 Tim Blechmann [this message]
2010-11-18 20:17 ` Randy Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ac9bb5b7fddd363c37c511e9af688128285fa1c1.1290110765.git.tim@klingt.org \
    --to=tim@klingt.org \
    --cc=Palash.Bandyopadhyay@conexant.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®