]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
net: au1000_eth: add missing capability.h
authorManuel Lauss <manuel.lauss@googlemail.com>
Sat, 17 Oct 2009 02:00:07 +0000 (02:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Oct 2009 04:51:27 +0000 (21:51 -0700)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/au1000_eth.c

index 04f63c77071dfc17c7e75a335c92768e1c85d236..ce6f1ac25df83e6ea3b26298f707cad6a9e488a3 100644 (file)
@@ -34,6 +34,7 @@
  *
  *
  */
+#include <linux/capability.h>
 #include <linux/dma-mapping.h>
 #include <linux/module.h>
 #include <linux/kernel.h>