staging: easycap needs smp_lock.h, fixes build error
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 22 Nov 2010 20:12:37 +0000 (12:12 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 29 Nov 2010 18:53:14 +0000 (10:53 -0800)
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>
drivers/staging/easycap/easycap.h

index 25961c23dc0f4dc3068e8d79eb9eaf7d749c5782..884263b2775d76a5d0840b59d25cf04453b5a9a2 100644 (file)
@@ -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>