lkml.org 
[lkml]   [2009]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[origin tree build failure] [PATCH] headers: Fix build in drivers/net/wan/c101.c
    Fix:

    drivers/net/wan/c101.c: In function 'c101_ioctl':
    drivers/net/wan/c101.c:256: error: implicit declaration of function 'capable'
    drivers/net/wan/c101.c:256: error: 'CAP_NET_ADMIN' undeclared (first use in this function)
    drivers/net/wan/c101.c:256: error: (Each undeclared identifier is reported only once
    drivers/net/wan/c101.c:256: error: for each function it appears in.)

    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    ---
    drivers/net/wan/c101.c | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/drivers/net/wan/c101.c b/drivers/net/wan/c101.c
    index 9693b0f..0bd898c 100644
    --- a/drivers/net/wan/c101.c
    +++ b/drivers/net/wan/c101.c
    @@ -16,6 +16,7 @@

    #include <linux/module.h>
    #include <linux/kernel.h>
    +#include <linux/capability.h>
    #include <linux/slab.h>
    #include <linux/types.h>
    #include <linux/string.h>

    \
     
     \ /
      Last update: 2009-10-12 11:25    [W:0.022 / U:59.336 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site