[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091012091658.GA26171@elte.hu>
Date: Mon, 12 Oct 2009 11:16:58 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Linus Torvalds <torvalds@...ux-foundation.org>,
Alexey Dobriyan <adobriyan@...il.com>,
Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
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@...e.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>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists