lkml.org 
[lkml]   [2009]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 12 Oct 2009 10:40:12 +0200
FromIngo Molnar <>
Subject[origin tree build failure] [PATCH] headers: Fix build in drivers/net/wan/pci200syn.c
Fix:

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

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
drivers/net/wan/pci200syn.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wan/pci200syn.c b/drivers/net/wan/pci200syn.c
index a52f29c..f1340fa 100644
--- a/drivers/net/wan/pci200syn.c
+++ b/drivers/net/wan/pci200syn.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/fcntl.h>

\
 
 \ /
  Last update: 2009-10-12 10:47    [from the cache]
©2003-2010