From: Randy Dunlap <randy.dunlap@oracle.com>
To: Greg KH <greg@kroah.com>
Cc: werner <w.landgraf@ru.ru>, linux-kernel@vger.kernel.org
Subject: [PATCH] staging: easycap needs smp_lock.h, fixes build error
Date: Mon, 22 Nov 2010 12:12:37 -0800 [thread overview]
Message-ID: <20101122121237.38cdd369.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20101122194736.GA29830@kroah.com>
From: Randy Dunlap <randy.dunlap@oracle.com>
Add header file to fix build error:
drivers/staging/easycap/easycap_main.c:4251: error: implicit declaration of function 'lock_kernel'
drivers/staging/easycap/easycap_main.c:4254: error: implicit declaration of function 'unlock_kernel'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/staging/easycap/easycap.h | 1 +
1 file changed, 1 insertion(+)
--- lnx-2637-rc3.orig/drivers/staging/easycap/easycap.h
+++ lnx-2637-rc3/drivers/staging/easycap/easycap.h
@@ -75,6 +75,7 @@
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
+#include <linux/smp_lock.h>
#include <linux/module.h>
#include <linux/kref.h>
#include <linux/usb.h>
next prev parent reply other threads:[~2010-11-22 20:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-22 3:20 2.6.37-rc3 problems werner
2010-11-22 4:35 ` Greg KH
2010-11-22 4:56 ` Randy Dunlap
2010-11-22 5:13 ` Randy Dunlap
2010-11-22 19:47 ` Greg KH
2010-11-22 20:12 ` Randy Dunlap [this message]
2010-11-30 14:44 ` [PATCH] staging: easycap needs smp_lock.h, fixes build error werner
2010-11-30 14:57 ` Greg KH
2010-11-30 22:17 ` werner
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=20101122121237.38cdd369.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=w.landgraf@ru.ru \
/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