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

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

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

diff --git a/drivers/net/wan/n2.c b/drivers/net/wan/n2.c
index 83da596..58c6681 100644
--- a/drivers/net/wan/n2.c
+++ b/drivers/net/wan/n2.c
@@ -18,6 +18,7 @@

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

 \ /
  Last update: 2009-10-12 11:25    [W:0.175 / U:0.940 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site