From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH] wan: pci200syn needs capability.h Date: Tue, 13 Oct 2009 10:00:16 -0700 Message-ID: <20091013100016.3c9bfad7.randy.dunlap@oracle.com> References: <20091013162312.8b93998b.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from acsinet11.oracle.com ([141.146.126.233]:43628 "EHLO acsinet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751194AbZJMRBl (ORCPT ); Tue, 13 Oct 2009 13:01:41 -0400 In-Reply-To: <20091013162312.8b93998b.sfr@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell , davem@davemloft.net, Krzysztof Halasa Cc: linux-next@vger.kernel.org, LKML , netdev From: Randy Dunlap 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 --- 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 #include #include +#include #include #include #include