lkml.org 
[lkml]   [2010]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] staging: easycap needs smp_lock.h, fixes build error
    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>

    \
     
     \ /
      Last update: 2010-11-22 21:15    [W:0.022 / U:0.244 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site