aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-11-22 12:12:37 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-29 10:53:14 -0800
commit72f9fc7c8150873d51c61cfb885dc7fbb075d62a (patch)
tree82ab36385a2319e73b33a56d37c80956ac64da45 /drivers/staging
parentb6faaae1a15a352d68b3e3cd8b840e56709820bf (diff)
downloadkernel_samsung_tuna-72f9fc7c8150873d51c61cfb885dc7fbb075d62a.zip
kernel_samsung_tuna-72f9fc7c8150873d51c61cfb885dc7fbb075d62a.tar.gz
kernel_samsung_tuna-72f9fc7c8150873d51c61cfb885dc7fbb075d62a.tar.bz2
staging: easycap needs smp_lock.h, fixes build error
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> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/easycap/easycap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/easycap/easycap.h b/drivers/staging/easycap/easycap.h
index 25961c2..884263b 100644
--- a/drivers/staging/easycap/easycap.h
+++ b/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>