linux-mips
[Top] [All Lists]

[PATCH] net: au1000_eth: add missing capability.h

To: linux-netdev@vger.kernel.org
Subject: [PATCH] net: au1000_eth: add missing capability.h
From: Manuel Lauss <manuel.lauss@googlemail.com>
Date: Sat, 17 Oct 2009 13:54:34 +0200
Cc: linux-mips@linux-mips.org, Manuel Lauss <manuel.lauss@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=Rm6xSFhoyEKB82ALlhgCN7wIXK2/OA4K5qP3RWPE0fM=; b=nF91tuMMLEkZpLuTqCi2Gt6Sfr9qs/Aw/BUnnsffifmHlLkLYuZIhk0Mb499J5UVZB zvBVSvbSd1FarKZ+ztSmN22a6Iyr031qAf70xl/ZzCq0W6otztdrQwu2G/X+qnro8iWJ KqGZ6ehb+Dxy+jmd7IL+IsFWHNxuyaMMt+Xrs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=n4GbD3DwU5VrgQlVOcZenhgcKiKfMT8KTUJ0Au8n8Csttm0gC3SJVsDGklN8oTckrh FYt39lL6lqU2+XJNZPbQ+wX/2b/rNFEmGX6IqMsGWaRSJjWxHJdtzb/35DBr+NC72WuE moDPlJzjxt3F8qTyyMuWi1AoFPRk8oRcJsZB0=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
fixes the following build failure:
  CC      drivers/net/au1000_eth.o
/drivers/net/au1000_eth.c: In function 'au1000_set_settings':
/drivers/net/au1000_eth.c:623: error: implicit declaration of function 'capable'
/drivers/net/au1000_eth.c:623: error: 'CAP_NET_ADMIN' undeclared (first use in 
this function)
/drivers/net/au1000_eth.c:623: error: (Each undeclared identifier is reported 
only once
/drivers/net/au1000_eth.c:623: error: for each function it appears in.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
---
 drivers/net/au1000_eth.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/au1000_eth.c b/drivers/net/au1000_eth.c
index 04f63c7..ce6f1ac 100644
--- a/drivers/net/au1000_eth.c
+++ b/drivers/net/au1000_eth.c
@@ -34,6 +34,7 @@
  *
  *
  */
+#include <linux/capability.h>
 #include <linux/dma-mapping.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
-- 
1.6.5.rc2


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] net: au1000_eth: add missing capability.h, Manuel Lauss <=