Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Randy Dunlap and committed by
Greg Kroah-Hartman
72f9fc7c b6faaae1

+1
+1
drivers/staging/easycap/easycap.h
··· 75 75 #include <linux/errno.h> 76 76 #include <linux/init.h> 77 77 #include <linux/slab.h> 78 + #include <linux/smp_lock.h> 78 79 #include <linux/module.h> 79 80 #include <linux/kref.h> 80 81 #include <linux/usb.h>