linux-mips
[Top] [All Lists]

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

To: linux-netdev@vger.kernel.org
Subject: [PATCH RESEND] net: au1000_eth: buildfix: add missing capability.h
From: Manuel Lauss <manuel.lauss@googlemail.com>
Date: Wed, 28 Oct 2009 18:03:50 +0100
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=1Tfs+DnxZB34UXHyOMINSsQcIpHRO/eaCd1VaSs6Ijc=; b=PQU9Fsd1Y/JvN6zwf5BchmIgEi/zpQ5C2syEM+QCa0i8Rmwy3gMHmj+JKq40AFcHCf bFedzr7fthcrLHub/1JWW04Kq/vl8ik47Ny5rC/bbL/nmheyE4B59IhIWToYofu81jrF S8htztA9XJdD2drZoIFUNYpXijdceVPLCfq/o=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=bgmb5HFJ/BAtBv5NyLvPTOwrzHvpn05V9n52BSRJuMwyt3c2bPvFKF73sGTM23wHkO lyGwYmVWJliWCRqoW4oM987mfxVx7kdAvzW7VkWzCty7BA0MRFGQtmPh5yMyjTBwYB3v Z6+7tsdzAZzV653E99IVq21zaucezvRnrTHlU=
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


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