diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-11-22 12:12:37 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-29 10:53:14 -0800 |
commit | 72f9fc7c8150873d51c61cfb885dc7fbb075d62a (patch) | |
tree | 82ab36385a2319e73b33a56d37c80956ac64da45 /drivers/staging | |
parent | b6faaae1a15a352d68b3e3cd8b840e56709820bf (diff) | |
download | linux-3.10-72f9fc7c8150873d51c61cfb885dc7fbb075d62a.tar.gz linux-3.10-72f9fc7c8150873d51c61cfb885dc7fbb075d62a.tar.bz2 linux-3.10-72f9fc7c8150873d51c61cfb885dc7fbb075d62a.zip |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/easycap/easycap.h b/drivers/staging/easycap/easycap.h index 25961c23dc0..884263b2775 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> |