[PATCH] staging: easycap needs smp_lock.h, fixes build error

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Randy Dunlap
Date: Monday, November 22, 2010 - 1:12 pm

From: Randy Dunlap <randy.dunlap@oracle.com>

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>
---
 drivers/staging/easycap/easycap.h |    1 +
 1 file changed, 1 insertion(+)

--- lnx-2637-rc3.orig/drivers/staging/easycap/easycap.h
+++ lnx-2637-rc3/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>
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.37-rc3 problems, werner, (Sun Nov 21, 8:20 pm)
Re: 2.6.37-rc3 problems, Greg KH, (Sun Nov 21, 9:35 pm)
Re: 2.6.37-rc3 problems, Randy Dunlap, (Sun Nov 21, 9:56 pm)
Re: 2.6.37-rc3 problems, Randy Dunlap, (Sun Nov 21, 10:13 pm)
Re: 2.6.37-rc3 problems, Greg KH, (Mon Nov 22, 12:47 pm)
[PATCH] staging: easycap needs smp_lock.h, fixes build error, Randy Dunlap, (Mon Nov 22, 1:12 pm)