[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091013100016.3c9bfad7.randy.dunlap@oracle.com>
Date: Tue, 13 Oct 2009 10:00:16 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>, davem@...emloft.net,
Krzysztof Halasa <khc@...waw.pl>
Cc: linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
netdev <netdev@...r.kernel.org>
Subject: [PATCH] wan: pci200syn needs capability.h
From: Randy Dunlap <randy.dunlap@...cle.com>
Driver is missing header file capability.h:
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)
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
drivers/net/wan/pci200syn.c | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20091012.orig/drivers/net/wan/pci200syn.c
+++ linux-next-20091012/drivers/net/wan/pci200syn.c
@@ -18,6 +18,7 @@
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/types.h>
+#include <linux/capability.h>
#include <linux/fcntl.h>
#include <linux/in.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