diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-11-22 21:12:37 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-29 19:53:14 +0100 |
commit | 72f9fc7c8150873d51c61cfb885dc7fbb075d62a (patch) | |
tree | 82ab36385a2319e73b33a56d37c80956ac64da45 /drivers | |
parent | Staging: batman-adv: ensure that eth_type_trans gets linear memory (diff) | |
download | linux-72f9fc7c8150873d51c61cfb885dc7fbb075d62a.tar.xz linux-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')
-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 25961c23dc0f..884263b2775d 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> |